Represents a Convolutional Layer of a CNN.
More...
|
override void | SubUpdate () |
|
override void | UpdateForParams () |
| Checks if parameters have been updated and reinitializes necessary data. More...
|
|
override List< Shape > | GetPointShapes () |
| Returns a List of Shapes representing the pixels of the feature maps. More...
|
|
float | ZPosition () |
| Recursively returns the right ZOffset based on input layers. More...
|
|
void | OnValidate () |
| Called after each parameter change in the editor. Contains main update procedures. More...
|
|
virtual void | AddNodes (List< Vector3 > verts, List< int > inds) |
| Adds the "pixels" to the mesh. More...
|
|
Vector3 | GetEdgeBundleCenter (Vector3 originalPoint, float edgeBundle) |
| Returns the edgebundle position for the corresponding point. More...
|
|
Represents a Convolutional Layer of a CNN.
◆ ConvLayer()
◆ CalcMesh()
override void ConvLayer.CalcMesh |
( |
| ) |
|
|
virtual |
Calculates and sets the mesh of the Layers game object.
Reimplemented from Layer.
◆ Get2DOutputShape()
override Vector2Int ConvLayer.Get2DOutputShape |
( |
| ) |
|
|
virtual |
Returns a 2d Vector of the layers output shape.
- Returns
Reimplemented from Layer.
◆ GetActivationTensorForEpoch()
Array ConvLayer.GetActivationTensorForEpoch |
( |
int |
epoch | ) |
|
◆ GetActivationTensorShape()
int [] ConvLayer.GetActivationTensorShape |
( |
| ) |
|
◆ GetLineStartShapes()
override List<List<Shape> > ConvLayer.GetLineStartShapes |
( |
Vector2Int |
convShape, |
|
|
Vector2Int |
outputShape, |
|
|
Vector2 |
theoreticalOutputShape, |
|
|
Vector2Int |
stride, |
|
|
float |
allCalcs |
|
) |
| |
|
virtual |
Calculates and returns the positions of the line start points (for the CalcMesh() function)
- Parameters
-
convShape | |
outputShape | |
theoreticalOutputShape | |
stride | |
allCalcs | |
- Returns
Implements Layer.
◆ GetOutputShape()
override Vector3Int ConvLayer.GetOutputShape |
( |
| ) |
|
|
virtual |
◆ GetPointShapes()
override List<Shape> ConvLayer.GetPointShapes |
( |
| ) |
|
|
protectedvirtual |
Returns a List of Shapes representing the pixels of the feature maps.
- Returns
Implements Layer.
◆ GetWeightTensorForEpoch()
Array ConvLayer.GetWeightTensorForEpoch |
( |
int |
epoch | ) |
|
◆ GetWeightTensorShape()
int [] ConvLayer.GetWeightTensorShape |
( |
| ) |
|
◆ SetActivationTensorForEpoch()
void ConvLayer.SetActivationTensorForEpoch |
( |
Array |
tensor, |
|
|
int |
epoch |
|
) |
| |
◆ SetActivationTensorShape()
void ConvLayer.SetActivationTensorShape |
( |
int [] |
tensorShape | ) |
|
◆ SetExpansion()
override void ConvLayer.SetExpansion |
( |
float |
expansion | ) |
|
|
virtual |
Reimplemented from Layer.
◆ SetWeightTensorForEpoch()
void ConvLayer.SetWeightTensorForEpoch |
( |
Array |
tensor, |
|
|
int |
epoch |
|
) |
| |
◆ SetWeightTensorShape()
void ConvLayer.SetWeightTensorShape |
( |
int [] |
tensorShape | ) |
|
◆ SubUpdate()
override void ConvLayer.SubUpdate |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from Layer.
◆ UpdateForParams()
override void ConvLayer.UpdateForParams |
( |
| ) |
|
|
protectedvirtual |
Checks if parameters have been updated and reinitializes necessary data.
Reimplemented from Layer.
◆ allCalculations
float ConvLayer.allCalculations |
◆ allFiltersSpacing
float ConvLayer.allFiltersSpacing = 0.5f |
◆ edgeBundle
float ConvLayer.edgeBundle |
◆ filterSpacing
float ConvLayer.filterSpacing |
◆ filterSpread
float ConvLayer.filterSpread |
◆ fullDepth
int ConvLayer.fullDepth = 64 |
◆ fullResHeight
float ConvLayer.fullResHeight = 5.0f |
◆ lineToGrid
float ConvLayer.lineToGrid |
◆ lineXToZ
◆ nodeSize
◆ reducedDepth
int ConvLayer.reducedDepth = 4 |
◆ showOriginalDepth
bool ConvLayer.showOriginalDepth = false |
The documentation for this class was generated from the following file:
- src/geometry shader sample project/StandardGeometryShader-master/Assets/Layer/ConvLayer.cs