Constructor Pad
Pad(string, string, string, PadMode)
Initializes and returns an instance of Pad
layer without a constant value tensor.
Declaration
public Pad(string name, string data, string pads, PadMode mode)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name to use for the output tensor of the layer. |
string | data | The name to use for the input tensor of the layer. |
string | pads | The name to use for the 1D pad tensor of the layer. |
PadMode | mode | The |
Pad(string, string, string, string, PadMode)
Initializes and returns an instance of Pad
layer with a constant value tensor.
Declaration
public Pad(string name, string data, string pads, string constantValue, PadMode mode)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name to use for the output tensor of the layer. |
string | data | The name to use for the input tensor of the layer. |
string | pads | The name to use for the 1D pad tensor of the layer. |
string | constantValue | The name to use for the scalar constant value tensor of the layer. |
PadMode | mode | The |