Home
last modified time | relevance | path

Searched refs:SetNumThreads (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/lite/kernels/
Ddepthwise_conv_test.cc456 m.SetNumThreads(num_thread); in SimpleDilatedTestPaddingSame()
514 m.SetNumThreads(num_thread); in BatchPaddingValidTest()
570 m.SetNumThreads(num_thread); in BatchPaddingSameTest()
954 m.SetNumThreads(4); in TEST_P()
1038 m.SetNumThreads(4); in TEST_P()
1125 m.SetNumThreads(4); in TEST_P()
1192 m.SetNumThreads(3); in TEST_P()
1265 m.SetNumThreads(2); in TEST_P()
1329 m.SetNumThreads(3); in TEST_P()
1401 m.SetNumThreads(4); in TEST_P()
[all …]
Deigen_support.cc97 SetNumThreads(num_threads); in LazyEigenThreadPoolHolder()
112 void SetNumThreads(int num_threads) { in SetNumThreads() function in tflite::eigen_support::__anonf8036f140111::LazyEigenThreadPoolHolder
146 ptr->thread_pool_holder->SetNumThreads(context->recommended_num_threads); in Refresh()
Dconv_test.cc565 m.SetNumThreads(i); in TEST_P()
644 m.SetNumThreads(i); in TEST_P()
941 m.SetNumThreads(1); in TEST_P()
944 m.SetNumThreads(2); in TEST_P()
947 m.SetNumThreads(3); in TEST_P()
/external/tensorflow/tensorflow/core/kernels/
Dmeta_support.h38 void SetNumThreads(int num_threads);
/external/tensorflow/tensorflow/lite/delegates/flex/
Ddelegate_test.cc267 interpreter_->SetNumThreads(1); in TEST_F()
292 interpreter_->SetNumThreads(4); in TEST_F()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/testing/
Dinterpreter_utils.cc48 interpreter->SetNumThreads(1); in InterpreterInvokeWithOpResolver()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dinterpreter_wrapper.h107 PyObject* SetNumThreads(int num_threads);
Dinterpreter_wrapper_pybind11.cc198 return tensorflow::PyoOrThrow(self.SetNumThreads(num_threads)); in PYBIND11_MODULE()
Dinterpreter_wrapper.cc752 PyObject* InterpreterWrapper::SetNumThreads(int num_threads) { in SetNumThreads() function in tflite::interpreter_wrapper::InterpreterWrapper
754 interpreter_->SetNumThreads(num_threads); in SetNumThreads()
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dtflite_inference_stage.cc118 interpreter_->SetNumThreads(params.num_threads()); in Init()
/external/tensorflow/tensorflow/lite/
Dinterpreter_test.cc1129 ASSERT_EQ(interpreter_.SetNumThreads(4), kTfLiteOk); in TEST_F()
1133 ASSERT_EQ(interpreter_.SetNumThreads(4), kTfLiteOk); in TEST_F()
1134 ASSERT_EQ(interpreter_.SetNumThreads(5), kTfLiteOk); in TEST_F()
1140 ASSERT_EQ(interpreter_.SetNumThreads(-2), kTfLiteError); in TEST_F()
1143 ASSERT_EQ(interpreter_.SetNumThreads(-1), kTfLiteOk); in TEST_F()
1148 ASSERT_EQ(interpreter_.SetNumThreads(4), kTfLiteOk); in TEST_F()
Dinterpreter.cc349 TfLiteStatus Interpreter::SetNumThreads(int num_threads) { in SetNumThreads() function in tflite::Interpreter
Dinterpreter.h447 TfLiteStatus SetNumThreads(int num_threads);
/external/XNNPACK/bench/
Dbankers-rounding.cc171 interpreter->SetNumThreads(1); in tflite_bankers_rounding_f32()
Delu.cc171 interpreter->SetNumThreads(1); in tflite_elu_f32()
Dceiling.cc171 interpreter->SetNumThreads(1); in tflite_ceiling_f32()
Dsquare-root.cc171 interpreter->SetNumThreads(1); in tflite_square_root_f32()
Dfloor.cc171 interpreter->SetNumThreads(1); in tflite_floor_f32()
Dprelu.cc194 interpreter->SetNumThreads(1); in tflite_prelu_f32()
Dsoftmax.cc245 interpreter->SetNumThreads(1); in tflite_softmax_f32()
Dsigmoid.cc246 interpreter->SetNumThreads(1); in tflite_sigmoid_f32()
Dhardswish.cc173 interpreter->SetNumThreads(1); in tflite_hardswish_f32()
/external/tensorflow/tensorflow/lite/c/
Dc_api.cc285 interpreter->SetNumThreads(optional_options->num_threads); in InterpreterCreateWithOpResolver()
/external/tensorflow/tensorflow/lite/python/
Dinterpreter.py310 self._interpreter.SetNumThreads(num_threads)
/external/tensorflow/tensorflow/lite/examples/ios/simple/
DRunModelViewController.mm120 interpreter->SetNumThreads(num_threads);

12