Home
last modified time | relevance | path

Searched refs:crops_dims (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_batch_to_space_nd_attributes.cc51 const std::vector<int>& crops_dims = crops_array.shape().dims(); in Run() local
52 if (crops_dims.size() != 2) { in Run()
59 for (int i = 0; i < crops_dims[0]; ++i) { in Run()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dbatch_to_space_nd_test.cc73 TfLiteIntArray* crops_dims = IntArrayFromInts(crops_dims_data); in TestBatchToSpaceNdFloat() local
82 CreateTensor(crops_data, crops_dims), in TestBatchToSpaceNdFloat()
100 TfLiteIntArray* crops_dims = IntArrayFromInts(crops_dims_data); in TestBatchToSpaceNdQuantized() local
111 tflite::testing::CreateTensor(crops_data, crops_dims), in TestBatchToSpaceNdQuantized()
Dspace_to_batch_nd_test.cc73 TfLiteIntArray* crops_dims = IntArrayFromInts(crops_dims_data); in TestSpaceToBatchNdFloat() local
82 CreateTensor(crops_data, crops_dims), in TestSpaceToBatchNdFloat()
100 TfLiteIntArray* crops_dims = IntArrayFromInts(crops_dims_data); in TestSpaceToBatchNdQuantized() local
111 tflite::testing::CreateTensor(crops_data, crops_dims), in TestSpaceToBatchNdQuantized()
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_common.cc1079 int crops_dims = crops_type.getShape()[0]; in convertBatchToSpaceNDOp() local
1097 SmallVector<std::pair<int64_t, int64_t>, 4> crops(crops_dims); in convertBatchToSpaceNDOp()
1113 SmallVector<int32_t, 2> crops_const(2 * (crops_dims)); in convertBatchToSpaceNDOp()
1119 for (int i = 0; i < crops_dims; i++) { in convertBatchToSpaceNDOp()
1120 int crops_lo = crops_const[i * crops_dims + 0]; in convertBatchToSpaceNDOp()
1121 int crops_hi = crops_const[i * crops_dims + 1]; in convertBatchToSpaceNDOp()
1216 if (i == 0 || i > crops_dims) { in convertBatchToSpaceNDOp()
1221 assert(i - 1 >= 0 && i - 1 < crops_dims); in convertBatchToSpaceNDOp()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dlegacy_reference_ops.h2047 const int32* crops_data, const Dims<4>& crops_dims, in BatchToSpaceND() argument
2051 DimsToShape(crops_dims), crops_data, DimsToShape(output_dims), in BatchToSpaceND()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dlegacy_optimized_ops.h4845 const int32* crops_data, const Dims<4>& crops_dims, in BatchToSpaceND() argument
4849 DimsToShape(crops_dims), crops_data, DimsToShape(output_dims), in BatchToSpaceND()