Class Dense¶
Defined in File generic.h
Inheritance Relationships¶
Base Types¶
public marian::LayerBase
(Class LayerBase)public marian::IUnaryLayer
(Struct IUnaryLayer)
Class Documentation¶
-
class
Dense
: public marian::LayerBase, public marian::IUnaryLayer¶ Base class for a fully connected layer.
Implement the operations
output = activation(input * weight + bias)
.Public Functions
-
Dense
(Ptr<ExpressionGraph> graph, Ptr<Options> options)¶ Construct a dense layer in the graph.
- Parameters
graph
: The expression graph.options
: The options used for this dense layer.
-