Lines Matching refs:pad
146 constant_pad_op->context.pad = (struct pad_context) { in setup_constant_pad_nd()
151 .pad_ukernel = xnn_params.x32.pad.ukernel, in setup_constant_pad_nd()
155 …constant_pad_op->context.pad.pre_paddings[i] = normalized_pre_paddings[XNN_MAX_TENSOR_DIMS - 1 - i… in setup_constant_pad_nd()
156 … constant_pad_op->context.pad.input_size[i] = normalized_input_shape[XNN_MAX_TENSOR_DIMS - 1 - i]; in setup_constant_pad_nd()
161 constant_pad_op->context.pad.input = (const void*) in setup_constant_pad_nd()
162 …((uintptr_t) constant_pad_op->context.pad.input - constant_pad_op->context.pad.pre_paddings[i] * i… in setup_constant_pad_nd()
163 constant_pad_op->context.pad.input_stride[i - 1] = input_stride * sizeof(float); in setup_constant_pad_nd()
164 constant_pad_op->context.pad.output_stride[i - 1] = output_stride * sizeof(float); in setup_constant_pad_nd()
168 constant_pad_op->context.pad.input_size[0] *= sizeof(float); in setup_constant_pad_nd()
169 …constant_pad_op->context.pad.output_size[0] = normalized_output_shape[XNN_MAX_TENSOR_DIMS - 1] * s… in setup_constant_pad_nd()
170 constant_pad_op->context.pad.pre_paddings[0] *= sizeof(float); in setup_constant_pad_nd()
171 constant_pad_op->context.pad.post_paddings[0] = in setup_constant_pad_nd()
172 …constant_pad_op->context.pad.output_size[0] - constant_pad_op->context.pad.pre_paddings[0] - const… in setup_constant_pad_nd()