SmartEngine
1.6.0
|
2D convolution layer. Input is interpreted as a 2D grid laid in row major order. Filters are applied to blocks of the input grid at a time, producing another 2D grid as output. This 2D grid can be fed into neuron layers where it will be treated as a 1D array. More...
#include <Conv2D.h>
Public Member Functions | |
virtual ObjectPtr< IConv2DLayer > | InstanceLayer (const char *name, IGraphNode *input)=0 |
Creates a new IConv2DLayer with a different input, but filters shared with this layer. More... | |
virtual void | SetRandomWeights ()=0 |
Initialize the filters of the layer to random values. More... | |
Public Member Functions inherited from SmartEngine::IGraphNode | |
virtual const char * | GetName () const =0 |
Returns the name of the graph node. More... | |
virtual int | GetOutputDimension () const =0 |
Returns the dimension of a single row of this node's output. The Output property's length will be a multiple of this value. More... | |
virtual ObjectPtr< IMatrix > | Execute ()=0 |
Synchronously execute the graph. The returned matrix is read-only. More... | |
virtual ObjectPtr< IMatrix > | GetLastExecutionResult ()=0 |
Get the results of last execution of the graph. The returned matrix is read-only. More... | |
Public Member Functions inherited from SmartEngine::IObject | |
virtual ObjectId | GetId () const =0 |
Returns the ID of this object. More... | |
virtual void | AddRef () const =0 |
Increments the internal reference count on this object. It is not common to use this method directly. More... | |
virtual void | Release () const =0 |
Decrements the internal reference count on this object. It is not common to use this method directly. More... | |
virtual int | GetRefCount () const =0 |
Returns the number of references to this object. More... | |
virtual void * | QueryInterface (ObjectClassId id)=0 |
Queries the object for an interface and returns a pointer to that interface if found. More... | |
void | operator= (IObject const &x)=delete |
Public Member Functions inherited from SmartEngine::ISerializable | |
virtual SerializationResult | Serialize (IMemoryBuffer *buffer)=0 |
Write the contents of this object to a buffer. More... | |
virtual SerializationResult | Deserialize (IMemoryBuffer *buffer)=0 |
Fill this object with contents from a buffer. More... | |
Additional Inherited Members | |
Public Attributes inherited from SmartEngine::IObject | |
private | |
__pad0__: IObject() {} IObject(IObject const&) = delete | |
2D convolution layer. Input is interpreted as a 2D grid laid in row major order. Filters are applied to blocks of the input grid at a time, producing another 2D grid as output. This 2D grid can be fed into neuron layers where it will be treated as a 1D array.
|
pure virtual |
Creates a new IConv2DLayer with a different input, but filters shared with this layer.
name | The name for the new layer. |
input | The input into the new layer. |
|
pure virtual |
Initialize the filters of the layer to random values.