Home
last modified time | relevance | path

Searched refs:input_dims_size (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dmatrix_diag.cc38 int input_dims_size = input_dims->size; in Prepare() local
39 TF_LITE_ENSURE(context, input_dims_size >= 1); in Prepare()
45 TfLiteIntArray* output_shape = TfLiteIntArrayCreate(input_dims_size + 1); in Prepare()
46 for (int i = 0; i < input_dims_size; i++) { in Prepare()
51 output_shape->data[input_dims_size] = input_dims->data[input_dims_size - 1]; in Prepare()
Dmatrix_set_diag.cc39 int input_dims_size = input_dims->size; in Prepare() local
40 TF_LITE_ENSURE(context, input_dims_size >= 2); in Prepare()
46 TfLiteIntArray* output_shape = TfLiteIntArrayCreate(input_dims_size); in Prepare()
47 for (int i = 0; i < input_dims_size; i++) { in Prepare()
/external/libtextclassifier/native/tensorflow_models/seq_flow_lite/tflite_ops/
Dlayer_norm.cc121 bool ValidIndex(const int* input_dims, const int input_dims_size, in ValidIndex() argument
123 if (input_dims_size == 0) { in ValidIndex()
128 for (int idx = input_dims_size - 1; idx >= 0; --idx) { in ValidIndex()
143 int GetOffset(const int* input_dims, const int input_dims_size, in GetOffset() argument
145 if (input_dims_size == 0) return 0; in GetOffset()
149 for (int idx = 0; idx < input_dims_size; ++idx) { in GetOffset()
/external/tensorflow/tensorflow/lite/c/
Dc_api.cc157 int32_t input_dims_size) { in TfLiteInterpreterResizeInputTensor() argument
158 std::vector<int> dims{input_dims, input_dims + input_dims_size}; in TfLiteInterpreterResizeInputTensor()
Dc_api.h176 int32_t input_dims_size);
/external/tensorflow/tensorflow/lite/delegates/
Ddelegate_test_util.cc296 const int input_dims_size = input1->dims->size; in FakeFusedRegistration() local
297 TF_LITE_ENSURE(context, output->dims->size == input_dims_size); in FakeFusedRegistration()
298 for (int i = 0; i < input_dims_size; ++i) { in FakeFusedRegistration()
/external/tensorflow/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/SDK/Scripts/
DInterpreter.cs238 int input_dims_size); in TfLiteInterpreterResizeInputTensor() argument