Home
last modified time | relevance | path

Searched refs:block_shape_value (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dspacetobatch_op.cc154 const int64 block_shape_value = block_shape[block_dim]; in SpaceToBatchOpCompute() local
156 if (padded_size % block_shape_value != 0) { in SpaceToBatchOpCompute()
160 block_dim, "]=", block_shape_value); in SpaceToBatchOpCompute()
163 const int64 output_size = padded_size / block_shape_value; in SpaceToBatchOpCompute()
Dbatchtospace_op.cc155 const int64 block_shape_value = block_shape[block_dim]; in BatchToSpaceOpCompute() local
157 input_size * block_shape_value - crop_start - crop_end; in BatchToSpaceOpCompute()
/external/tensorflow/tensorflow/compiler/tests/
Dspacetobatch_op_test.py54 for block_dim, block_shape_value in enumerate(block_shape):
55 reduced_size = padded.shape[block_dim + 1] // block_shape_value
58 reshaped_padded_shape.append(block_shape_value)
/external/tensorflow/tensorflow/python/kernel_tests/
Dspacetobatch_op_test.py58 for block_dim, block_shape_value in enumerate(block_shape):
59 reduced_size = padded.shape[block_dim + 1] // block_shape_value
62 reshaped_padded_shape.append(block_shape_value)
/external/tensorflow/tensorflow/core/ops/
Darray_ops.cc2103 const int64 block_shape_value = block_shape_vec[dim]; in SpaceToBatchShapeHelper() local
2104 if (block_shape_value < 1) { in SpaceToBatchShapeHelper()
2109 c->Multiply(batch_size, block_shape_value, &batch_size)); in SpaceToBatchShapeHelper()
2178 const int64 block_shape_value = block_shape_vec[dim]; in BatchToSpaceShapeHelper() local
2179 if (block_shape_value < 1) { in BatchToSpaceShapeHelper()
2183 TF_RETURN_IF_ERROR(c->Divide(batch_size, block_shape_value, in BatchToSpaceShapeHelper()