Class LocalPool
Infer the output partial tensor from the input partial tensors.
If the layer has more than one output, output partial tensors are saved to 'ctx'.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public abstract class LocalPool : Layer
Constructors
Name | Description |
---|---|
LocalPool(string, string, int[], int[], int[], AutoPad) | Initializes and returns an instance of |
Fields
Name | Description |
---|---|
autopad | The auto padding mode of the pool as an |
kernelShape | The size of the kernel along each spatial axis. |
pads | The lower and upper padding values for each spatial dimension. For example [pad_left, pad_right] for 1D, or [pad_top, pad_bottom, pad_left, pad_right] for 2D. If this is |
strides | The stride along each spatial axis. If this is |
Methods
Name | Description |
---|---|
ToString() | Returns a string that represents the |