Home
last modified time | relevance | path

Searched refs:set_tensor (Results 1 – 25 of 33) sorted by relevance

12

/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/
Dngrams_test.py122 interpreter.set_tensor(interpreter.get_input_details()[0]['index'],
142 interpreter.set_tensor(interpreter.get_input_details()[0]['index'],
164 interpreter.set_tensor(interpreter.get_input_details()[0]['index'],
167 interpreter.set_tensor(interpreter.get_input_details()[r + 1]['index'],
195 interpreter.set_tensor(interpreter.get_input_details()[0]['index'],
198 interpreter.set_tensor(interpreter.get_input_details()[r + 1]['index'],
225 interpreter.set_tensor(interpreter.get_input_details()[0]['index'],
228 interpreter.set_tensor(interpreter.get_input_details()[r + 1]['index'],
249 interpreter.set_tensor(interpreter.get_input_details()[0]['index'],
252 interpreter.set_tensor(interpreter.get_input_details()[r + 1]['index'],
Dwhitespace_tokenizer_test.py80 interpreter.set_tensor(interpreter.get_input_details()[0]['index'],
104 interpreter.set_tensor(interpreter.get_input_details()[0]['index'],
134 interpreter.set_tensor(interpreter.get_input_details()[0]['index'],
156 interpreter.set_tensor(interpreter.get_input_details()[0]['index'],
/external/tensorflow/tensorflow/lite/python/
Dinterpreter_test.py126 interpreter.set_tensor(input_details[0]['index'], test_input)
142 interpreter.set_tensor(input_details[0]['index'], test_input)
180 interpreter.set_tensor(input_details[0]['index'], test_input)
217 interpreter.set_tensor(input_details[1]['index'], test_input)
221 interpreter.set_tensor(input_details[0]['index'], test_input)
235 interpreter.set_tensor(input_details[0]['index'], np.array(data))
345 self.interpreter.set_tensor(self.input0, self.initial_data)
348 self.interpreter.set_tensor(self.input0, new_value)
Dlite_flex_test.py70 interpreter.set_tensor(input_details[0]['index'], test_input)
102 interpreter.set_tensor(input_details[0]['index'], test_input)
137 interpreter.set_tensor(input_details[0]['index'], test_input)
219 interpreter.set_tensor(input_details[0]['index'], test_input)
Dlite_v2_test_util.py64 interpreter.set_tensor(input_tensor['index'], tensor_data.numpy())
Dutil_test.py134 interpreter.set_tensor(input_details["index"], in_array)
380 interpreter.set_tensor(input_details["index"], input_data)
Dlite_test.py307 interpreter.set_tensor(input_index, dummy_tensor)
509 interpreter.set_tensor(input_details[0]['index'], test_input)
1369 interpreter.set_tensor(input_details[0]['index'],
1566 interpreter.set_tensor(input_details[1]['index'],
1572 interpreter.set_tensor(input_details[1]['index'],
2237 interpreter.set_tensor(input_details[0]['index'], input_data)
2267 interpreter.set_tensor(input_details[0]['index'], input_data)
2389 interpreter.set_tensor(input_details[0]['index'], input_data)
2594 interpreter.set_tensor(input_details[0]['index'], input_data)
Dinterpreter.py483 def set_tensor(self, tensor_index, value): member in Interpreter
/external/tflite-support/tensorflow_lite_support/custom_ops/python/
Dsentencepiece_tokenizer_test.py135 interpreter.set_tensor(input_details[0]["index"], input_data)
178 interpreter.set_tensor(input_details[0]["index"], input_data)
215 interpreter.set_tensor(input_details[0]["index"], input_data)
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dtest_util.py97 the_interpreter.set_tensor(input_tensor['index'], data)
/external/tensorflow/tensorflow/lite/tutorials/
Dmnist_tflite.py64 interpreter.set_tensor(input_details[0]['index'], input_image)
/external/tensorflow/tensorflow/lite/examples/python/
Dlabel_image.py84 interpreter.set_tensor(input_details[0]['index'], input_data)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.lite.-interpreter.pbtxt50 name: "set_tensor"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.lite.-interpreter.pbtxt50 name: "set_tensor"
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dpost_training_integer_quant_16x8.ipynb428 "interpreter.set_tensor(input_index, test_image)\n",
463 "interpreter_16x8.set_tensor(input_index, test_image)\n",
511 " interpreter.set_tensor(input_index, test_image)\n",
Dpost_training_float16_quant.ipynb376 "interpreter.set_tensor(input_index, test_image)\n",
411 "interpreter_fp16.set_tensor(input_index, test_image)\n",
459 " interpreter.set_tensor(input_index, test_image)\n",
Dpost_training_quant.ipynb360 "interpreter.set_tensor(input_index, test_image)\n",
410 " interpreter.set_tensor(input_index, test_image)\n",
/external/tensorflow/tensorflow/lite/experimental/quantization_debugger/
Ddebugger.py261 interpreter.set_tensor(input_detail['index'], tensor)
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/
Dunidirectional_sequence_rnn_test.py225 interpreter.set_tensor(input_index, test_inputs)
Dbidirectional_sequence_lstm_test.py249 interpreter.set_tensor(input_index, test_inputs)
Dunidirectional_sequence_lstm_test.py234 interpreter.set_tensor(input_index, test_inputs)
Dbidirectional_sequence_rnn_test.py274 interpreter.set_tensor(input_index, test_inputs)
/external/tensorflow/tensorflow/lite/g3doc/models/style_transfer/
Doverview.ipynb315 " interpreter.set_tensor(input_details[0][\"index\"], preprocessed_style_image)\n",
357 " interpreter.set_tensor(input_details[0][\"index\"], preprocessed_content_image)\n",
358 " interpreter.set_tensor(input_details[1][\"index\"], style_bottleneck)\n",
/external/tensorflow/tensorflow/lite/examples/experimental_new_converter/
Dkeras_lstm.ipynb192 "interpreter.set_tensor(input_details[0][\"index\"], x_test[0:1, :, :])\n",
DKeras_LSTM_fusion_Codelab.ipynb212 " interpreter.set_tensor(input_details[0][\"index\"], x_test[i:i+1, :, :])\n",

12