SmartEngine  1.6.0
Public Member Functions | Public Attributes | List of all members
SmartEngine::Conv2DInfo Struct Reference

#include <Conv2D.h>

Public Member Functions

bool operator== (const Conv2DInfo &rhs)
 

Public Attributes

int inputWidth = -1
 Input width. If the previous layer is a Conv2D layer, you can set this to -1 to have it auto-calculated. More...
 
int inputHeight = -1
 Input height. If the previous layer is a Conv2D layer, you can set this to -1 to have it auto-calculated. More...
 
int inputChannels = -1
 Number of input channels. If the previous layer is a Conv2D layer, you can set this to -1 to have it auto-calculated. More...
 
int filterWidth = 4
 The width of the filters applied. More...
 
int filterHeight = 4
 The height of the filters applies. Set this to 1 if using Conv2D as a Conv1D More...
 
int strideWidth = 1
 The stride width of the convolution. The filter is moved over this many elements every convolution. More...
 
int strideHeight = 1
 The stride height of the convolution. The filter is moved over this many elements every convolution. More...
 
int outputChannels = -1
 Number of output channels this convolution should produce. This is also the same as the number of filters applied to the convolution. More...
 

Member Function Documentation

◆ operator==()

bool SmartEngine::Conv2DInfo::operator== ( const Conv2DInfo rhs)

Member Data Documentation

◆ filterHeight

int SmartEngine::Conv2DInfo::filterHeight = 4

The height of the filters applies. Set this to 1 if using Conv2D as a Conv1D

◆ filterWidth

int SmartEngine::Conv2DInfo::filterWidth = 4

The width of the filters applied.

◆ inputChannels

int SmartEngine::Conv2DInfo::inputChannels = -1

Number of input channels. If the previous layer is a Conv2D layer, you can set this to -1 to have it auto-calculated.

◆ inputHeight

int SmartEngine::Conv2DInfo::inputHeight = -1

Input height. If the previous layer is a Conv2D layer, you can set this to -1 to have it auto-calculated.

◆ inputWidth

int SmartEngine::Conv2DInfo::inputWidth = -1

Input width. If the previous layer is a Conv2D layer, you can set this to -1 to have it auto-calculated.

◆ outputChannels

int SmartEngine::Conv2DInfo::outputChannels = -1

Number of output channels this convolution should produce. This is also the same as the number of filters applied to the convolution.

◆ strideHeight

int SmartEngine::Conv2DInfo::strideHeight = 1

The stride height of the convolution. The filter is moved over this many elements every convolution.

◆ strideWidth

int SmartEngine::Conv2DInfo::strideWidth = 1

The stride width of the convolution. The filter is moved over this many elements every convolution.