Class Pad
Represents a Pad layer. The layer calculates the output tensor by adding padding to the input tensor according to the given padding values and mode.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class Pad : LayerConstructors
| Name | Description | 
|---|---|
| Pad(string, string, string, string, PadMode) | Initializes and returns an instance of  | 
| Pad(string, string, string, PadMode) | Initializes and returns an instance of  | 
Fields
| Name | Description | 
|---|---|
| padMode | The  | 
Methods
| Name | Description | 
|---|---|
| Execute(Tensor[], ExecutionContext) | Executes the layer using the operations and variables from the  If the layer has more than one output, output tensors are saved to variables. |