Home
last modified time | relevance | path

Searched refs:block_shape_value (Results 1 – 7 of 7) 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/compiler/mlir/tosa/transforms/
Dlegalize_common.h82 Value block_shape_value,
89 Value block_shape_value,
Dlegalize_common.cc734 Value block_shape_value, in convertSpaceToBatchNDOp() argument
794 block_shape_value.getType().dyn_cast<RankedTensorType>(); in convertSpaceToBatchNDOp()
836 if (!matchPattern(block_shape_value, m_Constant(&block_shape_elems))) in convertSpaceToBatchNDOp()
1002 Value block_shape_value, in convertBatchToSpaceNDOp() argument
1055 block_shape_value.getType().dyn_cast<RankedTensorType>(); in convertBatchToSpaceNDOp()
1086 if (!matchPattern(block_shape_value, m_Constant(&block_shape_elems))) { in convertBatchToSpaceNDOp()
/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.cc2260 const int64 block_shape_value = block_shape_vec[dim]; in SpaceToBatchShapeHelper() local
2261 if (block_shape_value < 1) { in SpaceToBatchShapeHelper()
2266 c->Multiply(batch_size, block_shape_value, &batch_size)); in SpaceToBatchShapeHelper()
2335 const int64 block_shape_value = block_shape_vec[dim]; in BatchToSpaceShapeHelper() local
2336 if (block_shape_value < 1) { in BatchToSpaceShapeHelper()
2340 TF_RETURN_IF_ERROR(c->Divide(batch_size, block_shape_value, in BatchToSpaceShapeHelper()