Pad#
Pad - 1#
Version
name: Pad (GitHub)
domain: main
since_version: 1
function:
support_level: SupportType.COMMON
shape inference: False
This version of the operator has been available since version 1.
Summary
Attributes
mode - STRING : Three modes: constant(default), reflect, edge
paddings - INTS (required) : List of integers indicate the padding element count at the beginning and end of each axis, for 2D it is the number of pixel. paddings rank should be double of the input’s rank. paddings format should be as follow [x1_begin, x2_begin…x1_end, x2_end,…], where xi_begin the number of pixels added at the beginning of axis i and xi_end, the number of pixels added at the end of axis i.
value - FLOAT : One float, indicates the value to be filled, default is 0
Inputs
data (heterogeneous) - T:
Outputs
output (heterogeneous) - T:
Type Constraints
T in ( tensor(double), tensor(float), tensor(float16) ): Constrain input and output types to float tensors.