--- title: Common Layers keywords: fastai sidebar: home_sidebar summary: "Common layers." description: "Common layers." nb_path: "nbs/layers/layers.layers.common.ipynb" ---
{% raw %}
{% endraw %} {% raw %}
{% endraw %} {% raw %}

class FeaturesLinear[source]

FeaturesLinear(field_dims, output_dim=1) :: Module

References:

1. https://github.com/rixwew/pytorch-fm/blob/master/torchfm/layer.py
{% endraw %} {% raw %}
{% endraw %} {% raw %}

class FeaturesEmbedding[source]

FeaturesEmbedding(field_dims, embed_dim) :: Module

References:

1. https://github.com/rixwew/pytorch-fm/blob/master/torchfm/layer.py
{% endraw %} {% raw %}
{% endraw %} {% raw %}

class MultiLayerPerceptron[source]

MultiLayerPerceptron(input_dim, embed_dims, dropout, output_layer=True) :: Module

References:

1. https://github.com/rixwew/pytorch-fm/blob/master/torchfm/layer.py
{% endraw %} {% raw %}
{% endraw %}