Home
last modified time | relevance | path

Searched refs:dims_size (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/
Dtensor_ctypes.h40 const int dims_size = dims->size; in GetTensorShape() local
42 return RuntimeShape(dims_size, dims_data); in GetTensorShape()
/external/tensorflow/tensorflow/lite/micro/examples/network_tester/
Dnetwork_tester_test.cc43 int dims_size = output->dims->size; in print_output_data() local
45 printf("\"dims\": [%d,", dims_size); in print_output_data()
49 printf("%d],\n", output->dims->data[dims_size - 1]); in print_output_data()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dkernel_util.cc35 const int dims_size = dims->size; in GetTensorShape() local
37 return RuntimeShape(dims_size, dims_data); in GetTensorShape()
/external/tensorflow/tensorflow/lite/toco/
Dtooling_util.cc1496 num_dims = input_array.shape().dims_size(); in CreateOrCheckRnnStateArray()
1567 QCHECK_EQ(specified_input_array.shape().dims_size(), in ResolveModelFlags()
1568 dst_input_array->shape().dims_size()) in ResolveModelFlags()
1571 << specified_input_array.shape().dims_size() in ResolveModelFlags()
1574 << dst_input_array->shape().dims_size(); in ResolveModelFlags()
1578 for (int i = 1; i < specified_input_array.shape().dims_size(); i++) { in ResolveModelFlags()
1673 input_array_proto.shape().dims_size()); in ResolveModelFlags()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.h468 TfLiteStatus BytesRequired(TfLiteType type, const int* dims, size_t dims_size,
Dsubgraph.cc649 size_t dims_size, size_t* bytes) { in BytesRequired() argument
652 for (int k = 0; k < dims_size; k++) { in BytesRequired()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer_transposer.cc620 const int dims_size = dims.size(); in IsFaninPortDimsNIfConst() local
621 if (tensor.dims() != dims_size) { in IsFaninPortDimsNIfConst()
624 for (int i = 0; i < dims_size; ++i) { in IsFaninPortDimsNIfConst()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dpropagate_fixed_sizes.cc2100 int dims_size = dims->size(); in ProcessMatrixDiagOperator() local
2102 CHECK_GT(dims_size, 0); in ProcessMatrixDiagOperator()
2103 int last_dim = (*dims)[dims_size - 1]; in ProcessMatrixDiagOperator()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.cc4601 const int dims_size = dims_tensor.dims->data[0]; in AddOpsAndTensors() local
4602 std::vector<int32_t> dims_int32(dims_size); in AddOpsAndTensors()
4603 std::copy(dims_tensor.data.i64, dims_tensor.data.i64 + dims_size, in AddOpsAndTensors()