Home
last modified time | relevance | path

Searched refs:shape (Results 1 – 4 of 4) sorted by relevance

/test/mlts/benchmark/jni/
Drun_tflite.h91 bool resizeInputTensors(std::vector<int> shape);
Dbenchmark_jni.cpp99 std::vector<int> shape(shapePtr, shapePtr + shapeLen); in Java_com_android_nn_benchmark_core_NNTestBase_resizeInputTensors() local
100 return model->resizeInputTensors(std::move(shape)); in Java_com_android_nn_benchmark_core_NNTestBase_resizeInputTensors()
Drun_tflite.cpp227 bool BenchmarkModel::resizeInputTensors(std::vector<int> shape) { in resizeInputTensors() argument
230 mTfliteInterpreter->ResizeInputTensor(input, shape); in resizeInputTensors()
/test/mlts/benchmark/tools/
Dtensor_utils.py168 assert(cpu_tensor.shape == nnapi_tensor.shape)