Home
last modified time | relevance | path

Searched refs:pad_end (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dshape_ops_test.py42 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 …]
Dspectral_ops_test.py86 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/
Dshape_ops.py29 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:
Dspectral_ops.py39 pad_end=False, name=None): argument
83 signals, frame_length, frame_step, pad_end=pad_end)
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dspacetobatch_op.cc60 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/
Dresnet_utils.py136 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/
Dspacetobatch_op_test.py545 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/
Dspacetobatch_op.cc149 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/
Dtensorflow.signal.pbtxt21 …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/
Dtensorflow.signal.pbtxt21 …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/
Dapi_def_SpaceToBatchND.pbtxt20 `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/
Darray_ops.py2671 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/
Darray_ops.cc2125 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()