|
| 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...
|
| |
◆ MaxPoolLayer()
| MaxPoolLayer.MaxPoolLayer |
( |
| ) |
|
Represents a Maxpool Layer of a CNN.
◆ CalcMesh()
| override void MaxPoolLayer.CalcMesh |
( |
| ) |
|
|
virtual |
Calculates and sets the mesh of the Layers game object.
Reimplemented from Layer.
◆ Get2DOutputShape()
| override Vector2Int MaxPoolLayer.Get2DOutputShape |
( |
| ) |
|
|
virtual |
Returns a 2d Vector of the layers output shape.
- Returns
Reimplemented from Layer.
◆ GetLineStartShapes()
| override List<List<Shape> > MaxPoolLayer.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 MaxPoolLayer.GetOutputShape |
( |
| ) |
|
|
virtual |
◆ GetPointShapes()
| override List<Shape> MaxPoolLayer.GetPointShapes |
( |
| ) |
|
|
protectedvirtual |
Returns a List of Shapes representing the pixels of the feature maps.
- Returns
Implements Layer.
◆ SetExpansion()
| override void MaxPoolLayer.SetExpansion |
( |
float |
expansion | ) |
|
|
virtual |
Reimplemented from Layer.
◆ SubUpdate()
| override void MaxPoolLayer.SubUpdate |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from Layer.
◆ UpdateForParams()
| override void MaxPoolLayer.UpdateForParams |
( |
| ) |
|
|
protectedvirtual |
Checks if parameters have been updated and reinitializes necessary data.
Reimplemented from Layer.
◆ allCalculations
| float MaxPoolLayer.allCalculations |
◆ edgeBundle
| float MaxPoolLayer.edgeBundle |
◆ filterSpacing
| float MaxPoolLayer.filterSpacing |
◆ filterSpread
| float MaxPoolLayer.filterSpread |
◆ lineToGrid
| float MaxPoolLayer.lineToGrid |
◆ nodeSize
| float MaxPoolLayer.nodeSize |
◆ showOriginalDepth
| bool MaxPoolLayer.showOriginalDepth |
The documentation for this class was generated from the following file:
- src/geometry shader sample project/StandardGeometryShader-master/Assets/Layer/MaxPoolLayer.cs