Home
last modified time | relevance | path

Searched defs:interpreter (Results 1 – 25 of 150) sorted by relevance

123456

/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DInterpreterTest.java49 Interpreter interpreter = new Interpreter(MODEL_BUFFER); in testInterpreter() local
60 Interpreter interpreter = in testInterpreterWithOptions() local
81 Interpreter interpreter = new Interpreter(new File(MODEL_PATH)); in testRunWithFileModel() local
99 Interpreter interpreter = new Interpreter(byteBuffer); in testRunWithDirectByteBufferModel() local
131 Interpreter interpreter = new Interpreter(MODEL_BUFFER); in testRun() local
148 Interpreter interpreter = new Interpreter(MODEL_BUFFER); in testRunWithBoxedInputs() local
163 Interpreter interpreter = new Interpreter(MULTIPLE_INPUTS_MODEL_BUFFER); in testRunForMultipleInputsOutputs() local
198 try (Interpreter interpreter = new Interpreter(MODEL_BUFFER)) { in testRunWithByteBufferOutput()
210 try (Interpreter interpreter = new Interpreter(MODEL_BUFFER)) { in testResizeInput()
223 Interpreter interpreter = new Interpreter(MODEL_BUFFER); in testRunWithWrongInputType() local
[all …]
DInterpreterFlexTest.java44 try (Interpreter interpreter = new Interpreter(FLEX_MODEL_BUFFER, options)) { in testFlexModel()
54 try (Interpreter interpreter = new Interpreter(FLEX_MODEL_BUFFER)) { in testFlexModelDelegateAutomaticallyApplied()
70 private static void testCommon(Interpreter interpreter) { in testCommon()
DInterpreterMobileNetTest.java73 try (Interpreter interpreter = new Interpreter(MOBILENET_FLOAT_MODEL_BUFFER, options)) { in runMobileNetFloatTest()
92 try (Interpreter interpreter = new Interpreter(MOBILENET_QUANTIZED_MODEL_BUFFER, options)) { in runMobileNetQuantizedTest()
/external/tensorflow/tensorflow/lite/java/src/testhelper/java/org/tensorflow/lite/
DTestHelper.java28 public static Long getLastNativeInferenceDurationNanoseconds(Interpreter interpreter) { in getLastNativeInferenceDurationNanoseconds()
44 public static int[] getInputDims(Interpreter interpreter, int index) { in getInputDims()
63 public static String getInputDataType(Interpreter interpreter, int index) { in getInputDataType()
82 public static String getOutputDataType(Interpreter interpreter, int index) { in getOutputDataType()
/external/tensorflow/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/SDK/Scripts/
DInterpreter.cs33 private TfLiteInterpreter interpreter; field in TensorFlowLite.Interpreter
110 private static extern unsafe void TfLiteInterpreterDelete(TfLiteInterpreter interpreter); in TfLiteInterpreterDelete()
114 TfLiteInterpreter interpreter); in TfLiteInterpreterGetInputTensorCount()
118 TfLiteInterpreter interpreter, in TfLiteInterpreterGetInputTensor()
123 TfLiteInterpreter interpreter, in TfLiteInterpreterResizeInputTensor()
130 TfLiteInterpreter interpreter); in TfLiteInterpreterAllocateTensors()
133 private static extern unsafe int TfLiteInterpreterInvoke(TfLiteInterpreter interpreter); in TfLiteInterpreterInvoke()
137 TfLiteInterpreter interpreter); in TfLiteInterpreterGetOutputTensorCount()
141 TfLiteInterpreter interpreter, in TfLiteInterpreterGetOutputTensor()
/external/libtextclassifier/native/utils/
Dtflite-model-executor.h71 tflite::Interpreter* interpreter) const { in SetInput()
78 tflite::Interpreter* interpreter) const { in SetInput()
85 tflite::Interpreter* interpreter) const { in SetInput()
117 const tflite::Interpreter* interpreter) const { in OutputView()
128 const tflite::Interpreter* interpreter) const { in Output()
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dnativeinterpreterwrapper_jni.cc163 tflite_api_dispatcher::Interpreter* interpreter = in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames() local
186 tflite_api_dispatcher::Interpreter* interpreter = in Java_org_tensorflow_lite_NativeInterpreterWrapper_allocateTensors() local
205 tflite_api_dispatcher::Interpreter* interpreter = in Java_org_tensorflow_lite_NativeInterpreterWrapper_hasUnresolvedFlexOp() local
229 tflite_api_dispatcher::Interpreter* interpreter = in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputTensorIndex() local
238 tflite_api_dispatcher::Interpreter* interpreter = in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputTensorIndex() local
248 tflite_api_dispatcher::Interpreter* interpreter = in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputCount() local
258 tflite_api_dispatcher::Interpreter* interpreter = in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputCount() local
268 tflite_api_dispatcher::Interpreter* interpreter = in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputNames() local
293 tflite_api_dispatcher::Interpreter* interpreter = in Java_org_tensorflow_lite_NativeInterpreterWrapper_useNNAPI() local
302 tflite_api_dispatcher::Interpreter* interpreter = in Java_org_tensorflow_lite_NativeInterpreterWrapper_allowFp16PrecisionForFp32() local
[all …]
/external/tensorflow/tensorflow/lite/c/
Dc_api.cc120 std::unique_ptr<tflite::Interpreter> interpreter; in TfLiteInterpreterCreate() local
142 void TfLiteInterpreterDelete(TfLiteInterpreter* interpreter) { in TfLiteInterpreterDelete()
147 const TfLiteInterpreter* interpreter) { in TfLiteInterpreterGetInputTensorCount()
152 const TfLiteInterpreter* interpreter, int32_t input_index) { in TfLiteInterpreterGetInputTensor()
156 TfLiteStatus TfLiteInterpreterResizeInputTensor(TfLiteInterpreter* interpreter, in TfLiteInterpreterResizeInputTensor()
165 TfLiteStatus TfLiteInterpreterAllocateTensors(TfLiteInterpreter* interpreter) { in TfLiteInterpreterAllocateTensors()
169 TfLiteStatus TfLiteInterpreterInvoke(TfLiteInterpreter* interpreter) { in TfLiteInterpreterInvoke()
174 const TfLiteInterpreter* interpreter) { in TfLiteInterpreterGetOutputTensorCount()
179 const TfLiteInterpreter* interpreter, int32_t output_index) { in TfLiteInterpreterGetOutputTensor()
Dc_api_test.cc42 TfLiteInterpreter* interpreter = TfLiteInterpreterCreate(model, options); in TEST() local
110 TfLiteInterpreter* interpreter = TfLiteInterpreterCreate(model, nullptr); in TEST() local
179 TfLiteInterpreter* interpreter = TfLiteInterpreterCreate(model, options); in TEST() local
202 TfLiteInterpreter* interpreter = TfLiteInterpreterCreate(model, options); in TEST() local
225 TfLiteInterpreter* interpreter = TfLiteInterpreterCreate(model, options); in TEST() local
/external/libtextclassifier/native/actions/
Dlua-actions.cc36 const tflite::Interpreter* interpreter, int output) { in GetTensorViewForOutput()
45 const tflite::Interpreter* interpreter, int output) { in GetStringTensorForOutput()
59 const tflite::Interpreter* interpreter, in CreateLuaActionsSuggestions()
78 const tflite::Interpreter* interpreter, in LuaActionsSuggestions()
/external/testng/src/main/java/org/testng/internal/
DBsh.java20 Interpreter interpreter = getInterpreter(); in includeMethodFromExpression() local
50 …private void setContext(Interpreter interpreter, Method method, Map<String, String> groups, ITestN… in setContext()
61 private void resetContext(Interpreter interpreter) { in resetContext()
/external/tensorflow/tensorflow/lite/
Dmodel_test.cc122 std::unique_ptr<Interpreter> interpreter; in TEST() local
135 std::unique_ptr<Interpreter> interpreter; in TEST() local
143 std::unique_ptr<Interpreter> interpreter; in TEST() local
154 std::unique_ptr<Interpreter> interpreter(new Interpreter); in TEST() local
166 std::unique_ptr<Interpreter> interpreter(new Interpreter); in TEST() local
249 std::unique_ptr<Interpreter> interpreter; in TEST() local
269 std::unique_ptr<Interpreter> interpreter(new Interpreter); in TEST() local
314 std::unique_ptr<Interpreter> interpreter; in TEST() local
328 std::unique_ptr<Interpreter> interpreter; in TEST() local
349 std::unique_ptr<Interpreter> interpreter; in TEST() local
[all …]
Dstring_util_test.cc25 Interpreter interpreter; in TEST() local
92 Interpreter interpreter; in TEST() local
115 Interpreter interpreter; in TEST() local
128 Interpreter interpreter; in TEST() local
Dinterpreter_test.cc44 Interpreter* interpreter, std::unique_ptr<Delegate> delegate) { in ModifyGraphWithDelegate()
72 Interpreter interpreter; in TEST() local
95 Interpreter interpreter; in TEST() local
102 Interpreter interpreter; in TEST() local
120 Interpreter interpreter; in TEST() local
141 Interpreter interpreter; in TEST() local
160 Interpreter interpreter; in TEST() local
168 Interpreter interpreter; in TEST() local
176 Interpreter interpreter; in TEST() local
186 Interpreter interpreter; in TEST() local
[all …]
/external/python/cpython3/Lib/
Dzipapp.py46 def _write_file_prefix(f, interpreter): argument
53 def _copy_archive(archive, new_archive, interpreter=None): argument
76 def create_archive(source, target=None, interpreter=None, main=None, argument
/external/tensorflow/tensorflow/lite/experimental/swift/TestApp/TestApp/
DViewController.swift23 private var interpreter: Interpreter? variable
41 guard let interpreter = interpreter else { return "" } variable
136 guard let interpreter = self.interpreter else { in invokeAdd() variable
167 guard let interpreter = self.interpreter else { in invokeAddQuantized() variable
205 guard let interpreter = self.interpreter else { in invokeMultiAdd() variable
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/
DScriptStorageAdapter.java101 Interpreter interpreter = config.getInterpreterForScript(script.getName()); in listExecutableScripts() local
126 Interpreter interpreter = config.getInterpreterForScript(file.getName()); in listExecutableScriptsRecursively() local
/external/tensorflow/tensorflow/lite/profiling/
Dprofile_summarizer.cc35 std::string GetTensorName(const tflite::Interpreter& interpreter, in GetTensorName()
43 std::vector<std::string> GetTensorNames(const tflite::Interpreter& interpreter, in GetTensorNames()
69 OperatorDetails GetOperatorDetails(const tflite::Interpreter& interpreter, in GetOperatorDetails()
109 const tflite::Interpreter& interpreter) { in ProcessProfiles()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dplatform_id.cc18 namespace interpreter { namespace
/external/tensorflow/tensorflow/lite/experimental/writer/
Dwriter_lib_test.cc27 Interpreter interpreter; in TEST() local
59 Interpreter interpreter; in TEST() local
/external/tensorflow/tensorflow/lite/experimental/swift/Tests/
DInterpreterTests.swift21 var interpreter: Interpreter! variable
48 let interpreter = try Interpreter(modelPath: AddQuantizedModel.path, options: options) in testInitWithOptions() variable
55 let interpreter = try Interpreter(modelPath: AddQuantizedModel.path, delegates: [metalDelegate]) in testInitWithDelegate() variable
64 let interpreter = try Interpreter( in testInitWithOptionsAndDelegate() variable
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
Dcalibrator_test.cc45 std::unique_ptr<Interpreter> interpreter; in TEST() local
123 std::unique_ptr<Interpreter> interpreter; in TEST() local
195 std::unique_ptr<Interpreter> interpreter; in TEST() local
280 std::unique_ptr<Interpreter> interpreter; in TEST() local
Dnode_info_delegate_test.cc67 std::unique_ptr<Interpreter> interpreter; in TEST() local
87 std::unique_ptr<Interpreter> interpreter; in TEST() local
119 std::unique_ptr<Interpreter> interpreter; in TEST() local
/external/sl4a/Common/src/com/googlecode/android_scripting/
DFeaturedInterpreters.java54 mNameMap.put(interpreter.mmName, interpreter); in mNameMap.put() argument
55 mExtensionMap.put(interpreter.mmExtension, interpreter); in mExtensionMap.put() argument
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DInterpreterPicker.java70 final Interpreter interpreter = (Interpreter) list.getItemAtPosition(position); in onListItemClick() local
125 Interpreter interpreter = mInterpreters.get(position); in getView() local

123456