Home
last modified time | relevance | path

Searched refs:left_pad (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dmirror_pad.cc67 inline void GetPadding(const T* data, int offset, int64_t* left_pad, in GetPadding() argument
69 *left_pad = static_cast<int64_t>(*(data + offset * 2)); in GetPadding()
74 int64_t* left_pad, int64_t* right_pad) { in GetPadding() argument
77 GetPadding(padding_matrix->data.i32, dimension, left_pad, right_pad); in GetPadding()
80 GetPadding(padding_matrix->data.i64, dimension, left_pad, right_pad); in GetPadding()
110 int64_t left_pad = 0, right_pad = 0; in Eval() local
116 GetPadding(padding_matrix, current_dim, &left_pad, &right_pad); in Eval()
118 for (int i = left_pad + offset - 1; i >= offset && left_pad > 0; in Eval()
119 --i, --left_pad) { in Eval()
145 int64_t left_pad = 0, right_pad = 0; in GetPaddedOutputShape() local
[all …]
/external/libaom/libaom/aom_dsp/
Dgrain_synthesis.c402 int left_pad, int top_pad, int right_pad, int bottom_pad) { in generate_luma_grain_block() argument
423 for (int j = left_pad; j < luma_block_size_x - right_pad; j++) { in generate_luma_grain_block()
445 int chroma_block_size_x, int chroma_grain_stride, int left_pad, int top_pad, in generate_chroma_grain_blocks() argument
484 for (int j = left_pad; j < chroma_block_size_x - right_pad; j++) { in generate_chroma_grain_blocks()
500 int luma_coord_x = ((j - left_pad) << chroma_subsamp_x) + left_pad; in generate_chroma_grain_blocks()
1044 int left_pad = 3; in av1_add_film_grain_run() local
1064 int luma_block_size_x = left_pad + 2 * ar_padding + luma_subblock_size_x * 2 + in av1_add_film_grain_run()
1069 int chroma_block_size_x = left_pad + (2 >> chroma_subsamp_x) * ar_padding + in av1_add_film_grain_run()
1093 luma_grain_stride, left_pad, top_pad, right_pad, in av1_add_film_grain_run()
1102 chroma_grain_stride, left_pad, top_pad, right_pad, bottom_pad, in av1_add_film_grain_run()
[all …]
/external/tensorflow/tensorflow/python/keras/layers/
Dconvolutional.py266 left_pad = self.dilation_rate[0] * (self.kernel_size[0] - 1)
268 causal_padding = [[0, 0], [left_pad, 0], [0, 0]]
270 causal_padding = [[0, 0], [0, 0], [left_pad, 0]]
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_dnn.h517 int64 left_pad, int64 right_pad, int64 top_pad,
Dcuda_dnn.cc4058 int64 left_pad, int64 right_pad, int64 top_pad, in DoXYPad() argument
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_dnn.h499 const DeviceMemory<float>& input_data, int64 left_pad,
Drocm_dnn.cc3954 int64 left_pad, int64 right_pad, int64 top_pad, in DoXYPad() argument
/external/tensorflow/tensorflow/python/keras/
Dbackend.py4236 left_pad = dilation_rate * (kernel_shape[0] - 1)
4237 x = temporal_padding(x, (left_pad, 0))
/external/tensorflow/tensorflow/stream_executor/
Ddnn.h1918 int64 left_pad, int64 right_pad, int64 top_pad,
Dstream.cc1647 const DeviceMemory<float> &input_data, int64 left_pad, in ThenXYPad() argument
1650 VLOG_CALL(PARAM(dimensions), PARAM(input_data), PARAM(left_pad), in ThenXYPad()
1656 CheckError(dnn->DoXYPad(this, dimensions, input_data, left_pad, right_pad, in ThenXYPad()
Dstream.h658 const DeviceMemory<float> &input_data, int64 left_pad,