27 SMARTENGINE_ENUM_STRING(
PoolType,
"Max",
"Average");
109 SMARTENGINE_EXPORT ObjPtr PoolingLayer_CreateInstance(
const PoolingLayerCInfo& cinfo);
A logical node in the AI graph. Some nodes, like NeuralNetwork, are composed of other nodes (neuron l...
Definition: GraphNode.h:34
int inputWidth
Input width. If the previous layer is a Conv2D layer, you can set this to -1 to have it auto-calculat...
Definition: Pooling.h:48
@ Max
Outputs the maximum value of the block of inputs
@ Sum
Sum the scores of all agents associated with the chromosome
Data used to construct an IGraphNode instance
Definition: GraphNode.h:17
SMARTENGINE_EXPORT ObjectPtr< IPoolingLayer > CreatePoolingLayer(const PoolingLayerCInfo &cinfo)
Creates an instance of IPoolingLayer
int inputHeight
Input height. If the previous layer is a Conv2D layer, you can set this to -1 to have it auto-calcula...
Definition: Pooling.h:54
SMARTENGINE_EXPORT ObjectPtr< IUnpoolingLayer > CreateUnpoolingLayer(const UnpoolingLayerCInfo &cinfo)
Creates an instance of IUnpoolingLayer
Smart pointer to an IObject. Automatic ref counting.
Definition: ObjectPtr.h:16
Definition: A2CTrainer.h:10
PoolType
Definition: Pooling.h:14
2D unpooling layer. Typically used before a conv2d transpose layer to expand the output dimension....
Definition: Pooling.h:91
IGraphNode * input
The input into this pool.
Definition: Pooling.h:65
Pool constructor info
Definition: Pooling.h:33
Unpool constructor info
Definition: Pooling.h:61
2D pooling layer. Typically used after a conv2d layer to reduce the output dimension....
Definition: Pooling.h:81
IPoolingLayer * poolingLayer
Reference to the original pooling layer. This is used to determine which of the output components to ...
Definition: Pooling.h:72
IGraphNode * input
The input into this pool.
Definition: Pooling.h:37
PoolType type
The type of pooling to apply.
Definition: Pooling.h:42