Home
last modified time | relevance | path

Searched refs:block_shape_val (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_common.cc909 int32_t block_shape_val = in convertSpaceToBatchNDOp() local
914 a2_shape[1 + i * 2 + 0] = padded_shape[1 + i] / block_shape_val; in convertSpaceToBatchNDOp()
915 a2_shape[1 + i * 2 + 1] = block_shape_val; in convertSpaceToBatchNDOp()
916 block_num_elems *= block_shape_val; in convertSpaceToBatchNDOp()
978 int32_t block_shape_val = in convertSpaceToBatchNDOp() local
983 a4_reshape_shape[i + 1] = padded_shape[i + 1] / block_shape_val; in convertSpaceToBatchNDOp()
1102 int block_shape_val = in convertBatchToSpaceNDOp() local
1107 block_num_elems *= block_shape_val; in convertBatchToSpaceNDOp()
1108 block_shape[i] = block_shape_val; in convertBatchToSpaceNDOp()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_n_z.cc1303 const Value block_shape_val = operands[1]; in inferReturnTypes() local
1306 const auto block_shape_type = block_shape_val.getType().cast<TensorType>(); in inferReturnTypes()
1338 if (GetValueAsConstant(block_shape_val, block_shape_attr) && in inferReturnTypes()