Home
last modified time | relevance | path

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

123456

/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DInterpreterTest.java52 Interpreter interpreter = new Interpreter(MODEL_FILE); in testInterpreter() local
63 Interpreter interpreter = in testInterpreterWithOptions() local
80 Interpreter interpreter = new Interpreter(mappedByteBuffer); in testRunWithMappedByteBufferModel() local
102 Interpreter interpreter = new Interpreter(byteBuffer); in testRunWithDirectByteBufferModel() local
139 Interpreter interpreter = new Interpreter(MODEL_FILE); in testRun() local
156 Interpreter interpreter = new Interpreter(MODEL_FILE); in testRunWithBoxedInputs() local
171 Interpreter interpreter = new Interpreter(MULTIPLE_INPUTS_MODEL_FILE); in testRunForMultipleInputsOutputs() local
206 try (Interpreter interpreter = new Interpreter(MODEL_FILE)) { in testRunWithByteBufferOutput()
218 try (Interpreter interpreter = new Interpreter(MODEL_FILE)) { in testResizeInput()
231 Interpreter interpreter = new Interpreter(MODEL_FILE); in testRunWithWrongInputType() local
[all …]
DInterpreterMobileNetTest.java47 Interpreter interpreter = new Interpreter(MOBILENET_MODEL_FILE); in testMobilenetRun() local
/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 TFL_Interpreter interpreter; field in TensorFlowLite.Interpreter
110 private static extern unsafe void TFL_DeleteInterpreter(TFL_Interpreter interpreter); in TFL_DeleteInterpreter()
114 TFL_Interpreter interpreter); in TFL_InterpreterGetInputTensorCount()
118 TFL_Interpreter interpreter, in TFL_InterpreterGetInputTensor()
123 TFL_Interpreter interpreter, in TFL_InterpreterResizeInputTensor()
130 TFL_Interpreter interpreter); in TFL_InterpreterAllocateTensors()
133 private static extern unsafe int TFL_InterpreterInvoke(TFL_Interpreter interpreter); in TFL_InterpreterInvoke()
137 TFL_Interpreter interpreter); in TFL_InterpreterGetOutputTensorCount()
141 TFL_Interpreter interpreter, in TFL_InterpreterGetOutputTensor()
/external/libtextclassifier/utils/
Dtflite-model-executor.h69 tflite::Interpreter* interpreter) const { in SetInput()
76 tflite::Interpreter* interpreter) const { in SetInput()
83 tflite::Interpreter* interpreter) const { in SetInput()
115 const tflite::Interpreter* interpreter) const { in OutputView()
126 const tflite::Interpreter* interpreter) const { in Output()
/external/tensorflow/tensorflow/lite/experimental/c/
Dc_api.cc112 std::unique_ptr<tflite::Interpreter> interpreter; in TFL_NewInterpreter() local
128 void TFL_DeleteInterpreter(TFL_Interpreter* interpreter) { delete interpreter; } in TFL_DeleteInterpreter()
130 int32_t TFL_InterpreterGetInputTensorCount(const TFL_Interpreter* interpreter) { in TFL_InterpreterGetInputTensorCount()
134 TFL_Tensor* TFL_InterpreterGetInputTensor(const TFL_Interpreter* interpreter, in TFL_InterpreterGetInputTensor()
139 TFL_Status TFL_InterpreterResizeInputTensor(TFL_Interpreter* interpreter, in TFL_InterpreterResizeInputTensor()
148 TFL_Status TFL_InterpreterAllocateTensors(TFL_Interpreter* interpreter) { in TFL_InterpreterAllocateTensors()
152 TFL_Status TFL_InterpreterInvoke(TFL_Interpreter* interpreter) { in TFL_InterpreterInvoke()
157 const TFL_Interpreter* interpreter) { in TFL_InterpreterGetOutputTensorCount()
162 const TFL_Interpreter* interpreter, int32_t output_index) { in TFL_InterpreterGetOutputTensor()
Dc_api_test.cc35 TFL_Interpreter* interpreter = TFL_NewInterpreter(model, options); in TEST() local
103 TFL_Interpreter* interpreter = TFL_NewInterpreter(model, nullptr); in TEST() local
172 TFL_Interpreter* interpreter = TFL_NewInterpreter(model, options); in TEST() local
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dnativeinterpreterwrapper_jni.cc136 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames() local
158 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_allocateTensors() local
176 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputTensorIndex() local
184 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputTensorIndex() local
193 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputCount() local
202 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputCount() local
211 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputNames() local
235 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_useNNAPI() local
243 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_allowFp16PrecisionForFp32() local
251 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_allowBufferHandleOutput() local
[all …]
/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.cc81 std::unique_ptr<Interpreter> interpreter; in TEST() local
94 std::unique_ptr<Interpreter> interpreter; in TEST() local
102 std::unique_ptr<Interpreter> interpreter; in TEST() local
113 std::unique_ptr<Interpreter> interpreter(new Interpreter); in TEST() local
125 std::unique_ptr<Interpreter> interpreter(new Interpreter); in TEST() local
208 std::unique_ptr<Interpreter> interpreter; in TEST() local
228 std::unique_ptr<Interpreter> interpreter(new Interpreter); in TEST() local
276 std::unique_ptr<Interpreter> interpreter; in TEST() local
290 std::unique_ptr<Interpreter> interpreter; in TEST() local
311 std::unique_ptr<Interpreter> interpreter; in TEST() local
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.cc33 Interpreter* interpreter, std::unique_ptr<Delegate> delegate) { in ModifyGraphWithDelegate()
61 Interpreter interpreter; in TEST() local
78 Interpreter interpreter; in TEST() local
85 Interpreter interpreter; in TEST() local
103 Interpreter interpreter; in TEST() local
122 Interpreter interpreter; in TEST() local
130 Interpreter interpreter; in TEST() local
138 Interpreter interpreter; in TEST() local
148 Interpreter interpreter; in TEST() local
171 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/libtextclassifier/actions/
Dlua-actions.cc34 const tflite::Interpreter* interpreter, int output) { in GetTensorViewForOutput()
54 const tflite::Interpreter* interpreter, in CreateLuaActionsSuggestions()
73 const tflite::Interpreter* interpreter, in LuaActionsSuggestions()
/external/tensorflow/tensorflow/lite/profiling/
Dprofile_summarizer.cc32 std::string GetTensorName(const tflite::Interpreter& interpreter, in GetTensorName()
40 std::vector<std::string> GetTensorNames(const tflite::Interpreter& interpreter, in GetTensorNames()
66 OperatorDetails GetOperatorDetails(const tflite::Interpreter& interpreter, in GetOperatorDetails()
106 const tflite::Interpreter& interpreter) { in ProcessProfiles()
/external/tensorflow/tensorflow/lite/experimental/swift/TestApps/TensorFlowLiteApp/TensorFlowLiteApp/
DViewController.swift9 private var interpreter: Interpreter? variable
27 guard let interpreter = interpreter else { return "" } variable
121 guard let interpreter = self.interpreter else { in invokeAdd() variable
152 guard let interpreter = self.interpreter else { in invokeAddQuantized() variable
190 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/compiler/xla/service/interpreter/
Dplatform_id.cc18 namespace interpreter { namespace
/external/v8/src/interpreter/
Dsetup-interpreter-internal.cc15 namespace interpreter { namespace
27 void SetupInterpreter::InstallBytecodeHandlers(Interpreter* interpreter) { in InstallBytecodeHandlers()
Dbytecode-array-iterator.cc11 namespace interpreter { namespace
Dbytecode-source-info.cc12 namespace interpreter { namespace
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
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/tensorflow/tensorflow/lite/models/smartreply/
Dpredictor.cc46 ::tflite::Interpreter* interpreter, in ExecuteTfLite()
75 std::unique_ptr<::tflite::Interpreter> interpreter; in GetSegmentPredictions() 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