/external/tensorflow/tensorflow/python/kernel_tests/signal/ |
D | shape_ops_test.py | 43 result = shape_ops.frame(tensor, 512, 180, pad_end=False) 56 result = shape_ops.frame(tensor, 512, 192, pad_end=True) 88 shape_ops.frame([1], 1, 1, pad_end=True, pad_value=[1]) 96 signal, frame_length, frame_step, pad_end=True, pad_value=99)) 100 shape_ops.frame(signal, frame_length, frame_step, pad_end=False)) 112 pad_end=True, pad_value=99) 116 pad_end=False) 126 pad_end=True, pad_value=99, axis=1) 130 pad_end=False, axis=1) 141 pad_end=True, pad_value=99, axis=3) [all …]
|
D | spectral_ops_test.py | 89 signal, frame_length, frame_step, fft_length, pad_end=False) 92 signal_ph, frame_length, frame_step, fft_length, pad_end=False) 126 pad_end=True) 131 pad_end=True) 136 fft_length=16, pad_end=True) 141 fft_length=8, pad_end=True) 195 pad_end=False) 304 signal, frame_length, frame_step, fft_length, pad_end=False) 329 norm, window_type, pad_end): argument 346 window_fn=window_fn, pad_end=pad_end)
|
/external/tensorflow/tensorflow/python/ops/signal/ |
D | shape_ops.py | 32 def _infer_frame_shape(signal, frame_length, frame_step, pad_end, axis): argument 48 if frame_step is not None and pad_end: 52 assert not pad_end 60 def frame(signal, frame_length, frame_step, pad_end=False, pad_value=0, axis=-1, argument 129 result_shape = _infer_frame_shape(signal, frame_length, frame_step, pad_end, 157 if pad_end:
|
D | spectral_ops.py | 42 pad_end=False, name=None): argument 87 signals, frame_length, frame_step, pad_end=pad_end) 298 pad_end=False, norm=None, name=None): argument 350 signals, frame_length, frame_step, pad_end=pad_end)
|
/external/icing/icing/index/main/ |
D | posting-list-used.cc | 121 uint32_t pad_end = offset; in GetPadEnd() local 122 while (pad_end < size_in_bytes_) { in GetPadEnd() 123 size_t pad_len = VarInt::Decode(posting_list_buffer_ + pad_end, &pad); in GetPadEnd() 128 pad_end += pad_len; in GetPadEnd() 130 return pad_end; in GetPadEnd() 158 uint32_t pad_end = GetPadEnd(posting_list_utils::kSpecialHitsSize); in PrependHitToAlmostFull() local 160 if (pad_end >= posting_list_utils::kSpecialHitsSize + delta_len + in PrependHitToAlmostFull() 165 posting_list_buffer_ + pad_end - delta_len - cur_term_frequency_bytes; in PrependHitToAlmostFull()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | spacetobatch_op.cc | 60 int64 pad_end = paddings.Get<int64>({i, 1}); in SpaceToBatch() local 61 OP_REQUIRES(ctx, pad_start >= 0 && pad_end >= 0, in SpaceToBatch() 64 dim->set_edge_padding_high(pad_end); in SpaceToBatch() 65 padded_shape[1 + i] += pad_start + pad_end; in SpaceToBatch()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | spacetobatch_op_test.py | 545 def _compare(self, b, h, w, d, block_size, pad_beg, pad_end): argument 551 [[pad_beg, pad_end], [pad_beg, pad_end]], dtype=np.int32) 561 pad_end = 0 562 self._compare(1, 2, 3, 5, block_size, pad_beg, pad_end) 568 pad_end = 0 569 self._compare(2, 4, 3, 2, block_size, pad_beg, pad_end) 575 pad_end = 1 576 self._compare(1, 2, 3, 5, block_size, pad_beg, pad_end)
|
/external/tensorflow/tensorflow/core/kernels/ |
D | spacetobatch_op.cc | 149 pad_end = paddings[2 * block_dim + 1]; in SpaceToBatchOpCompute() local 150 if (pad_start < 0 || pad_end < 0) { in SpaceToBatchOpCompute() 155 const int64 padded_size = input_size + pad_start + pad_end; in SpaceToBatchOpCompute()
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.signal.pbtxt | 25 …argspec: "args=[\'signal\', \'frame_length\', \'frame_step\', \'pad_end\', \'pad_value\', \'axis\'… 93 …argspec: "args=[\'signals\', \'frame_length\', \'window_fn\', \'pad_end\', \'norm\', \'name\'], va… 117 …ls\', \'frame_length\', \'frame_step\', \'fft_length\', \'window_fn\', \'pad_end\', \'name\'], var…
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.signal.pbtxt | 25 …argspec: "args=[\'signal\', \'frame_length\', \'frame_step\', \'pad_end\', \'pad_value\', \'axis\'… 93 …argspec: "args=[\'signals\', \'frame_length\', \'window_fn\', \'pad_end\', \'norm\', \'name\'], va… 117 …ls\', \'frame_length\', \'frame_step\', \'fft_length\', \'window_fn\', \'pad_end\', \'name\'], var…
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_SpaceToBatchND.pbtxt | 20 `paddings[i] = [pad_start, pad_end]` specifies the padding for input dimension 22 `block_shape[i]` divides `input_shape[i + 1] + pad_start + pad_end`.
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | tpu_space_to_depth_pass.cc | 170 int32_t pad_end = (pad_total / 2) / block_size; in HandlePad() local 171 SmallVector<int32_t, 8> values = {0, 0, pad_beg, pad_end, in HandlePad() 172 pad_beg, pad_end, 0, 0}; in HandlePad()
|
/external/pigweed/pw_presubmit/py/pw_presubmit/ |
D | tools.py | 79 pad_end: str = ' ') -> List[str]:
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/ |
D | tf_ops_n_z.cc | 1261 const int64_t pad_end = in Verify() local 1263 if (pad_start < 0 || pad_end < 0) { in Verify() 1278 const int64_t pad_end = in Verify() local 1282 if ((input_len + pad_start + pad_end) % block_len != 0) { in Verify()
|
D | tf_generated_ops.td | 13981 `paddings[i] = [pad_start, pad_end]` specifies the padding for input dimension 13983 `block_shape[i]` divides `input_shape[i + 1] + pad_start + pad_end`.
|
/external/tensorflow/tensorflow/core/ops/ |
D | array_ops.cc | 2282 pad_end = paddings_vec[dim * 2 + 1]; in SpaceToBatchShapeHelper() local 2283 if (pad_start < 0 || pad_end < 0) { in SpaceToBatchShapeHelper() 2290 TF_RETURN_IF_ERROR(c->Add(padded_size, pad_end, &padded_size)); in SpaceToBatchShapeHelper()
|
/external/tensorflow/tensorflow/python/ops/ |
D | array_ops.py | 3939 pad_end = orig_pad_end + pad_end_extra 3942 [[pad_start[i], pad_end[i]] for i in range(num_block_dims)],
|