/external/tensorflow/tensorflow/python/kernel_tests/signal/ |
D | shape_ops_test.py | 42 result = shape_ops.frame(tensor, 512, 180, pad_end=False).eval() 58 result = shape_ops.frame(tensor, 512, 192, pad_end=True).eval() 89 shape_ops.frame([1], 1, 1, pad_end=True, pad_value=[1]) 99 pad_end=True, pad_value=99).eval() 103 pad_end=False).eval() 114 pad_end=True, pad_value=99) 118 pad_end=False) 127 pad_end=True, pad_value=99, axis=1) 131 pad_end=False, axis=1) 141 pad_end=True, pad_value=99, axis=3) [all …]
|
D | spectral_ops_test.py | 86 signal, frame_length, frame_step, fft_length, pad_end=False) 89 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) 193 pad_end=False) 321 pad_end=False)
|
/external/tensorflow/tensorflow/python/ops/signal/ |
D | shape_ops.py | 29 def _infer_frame_shape(signal, frame_length, frame_step, pad_end, axis): argument 45 if frame_step is not None and pad_end: 49 assert not pad_end 56 def frame(signal, frame_length, frame_step, pad_end=False, pad_value=0, axis=-1, argument 109 result_shape = _infer_frame_shape(signal, frame_length, frame_step, pad_end, 124 if pad_end:
|
D | spectral_ops.py | 39 pad_end=False, name=None): argument 83 signals, frame_length, frame_step, pad_end=pad_end)
|
/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/contrib/slim/python/slim/nets/ |
D | resnet_utils.py | 136 pad_end = pad_total - pad_beg 138 inputs, [[0, 0], [pad_beg, pad_end], [pad_beg, pad_end], [0, 0]])
|
/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/v2/ |
D | tensorflow.signal.pbtxt | 21 …argspec: "args=[\'signal\', \'frame_length\', \'frame_step\', \'pad_end\', \'pad_value\', \'axis\'… 93 …ls\', \'frame_length\', \'frame_step\', \'fft_length\', \'window_fn\', \'pad_end\', \'name\'], var…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.signal.pbtxt | 21 …argspec: "args=[\'signal\', \'frame_length\', \'frame_step\', \'pad_end\', \'pad_value\', \'axis\'… 93 …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/python/ops/ |
D | array_ops.py | 2671 pad_end = orig_pad_end + pad_end_extra 2674 [[pad_start[i], pad_end[i]] for i in range(num_block_dims)],
|
/external/tensorflow/tensorflow/core/ops/ |
D | array_ops.cc | 2125 pad_end = paddings_vec[dim * 2 + 1]; in SpaceToBatchShapeHelper() local 2126 if (pad_start < 0 || pad_end < 0) { in SpaceToBatchShapeHelper() 2133 TF_RETURN_IF_ERROR(c->Add(padded_size, pad_end, &padded_size)); in SpaceToBatchShapeHelper()
|