Class DenseFactory

Inheritance Relationships

Base Type

Class Documentation

class DenseFactory : public marian::mlp::LayerFactory

Dense layer factory, can be used in a multi-layer network factory.

Public Functions

Ptr<IUnaryLayer> construct(Ptr<ExpressionGraph> graph)

Construct a layer instance in a given graph.

Return

a shared pointer to the layer object

Parameters
  • graph: a shared pointer a graph

DenseFactory clone()