Searched refs:output_details (Results 1 – 21 of 21) sorted by relevance
/external/tensorflow/tensorflow/lite/python/ |
D | lite_test.py | 175 output_details = interpreter.get_output_details() 176 self.assertLen(output_details, 1) 177 self.assertEqual('add', output_details[0]['name']) 178 self.assertEqual(np.float32, output_details[0]['dtype']) 179 self.assertAllEqual([2, 16, 16, 3], output_details[0]['shape']) 180 self.assertEqual((0., 0.), output_details[0]['quantization']) 249 output_details = interpreter.get_output_details() 250 self.assertLen(output_details, 1) 251 self.assertEqual('add', output_details[0]['name']) 252 self.assertEqual(np.float32, output_details[0]['dtype']) [all …]
|
D | interpreter_test.py | 115 output_details = interpreter.get_output_details() 116 self.assertEqual(1, len(output_details)) 117 self.assertEqual('output', output_details[0]['name']) 118 self.assertEqual(np.float32, output_details[0]['dtype']) 119 self.assertTrue(([1, 4] == output_details[0]['shape']).all()) 120 self.assertEqual((0.0, 0), output_details[0]['quantization']) 122 [], [], 0, output_details[0]['quantization_parameters']) 129 output_data = interpreter.get_tensor(output_details[0]['index']) 145 output_details = interpreter.get_output_details() 146 output_data = interpreter.get_tensor(output_details[0]['index']) [all …]
|
D | lite_flex_test.py | 73 output_details = interpreter.get_output_details() 75 output_data = interpreter.get_tensor(output_details[0]['index']) 105 output_details = interpreter.get_output_details() 107 output_data = interpreter.get_tensor(output_details[0]['index']) 140 output_details = interpreter.get_output_details() 142 output_data = interpreter.get_tensor(output_details[0]['index']) 222 output_details = interpreter.get_output_details() 224 output_data = interpreter.get_tensor(output_details[0]['index'])
|
D | convert_test.py | 89 output_details = interpreter.get_output_details() 90 self.assertEqual(1, len(output_details)) 91 self.assertEqual("add", output_details[0]["name"]) 92 self.assertEqual(np.float32, output_details[0]["dtype"]) 93 self.assertTrue(([1, 16, 16, 3] == output_details[0]["shape"]).all()) 94 self.assertEqual((0., 0.), output_details[0]["quantization"]) 135 output_details = interpreter.get_output_details() 136 self.assertEqual(1, len(output_details)) 137 self.assertEqual("output", output_details[0]["name"]) 138 self.assertEqual(np.uint8, output_details[0]["dtype"]) [all …]
|
D | lite_v2_test.py | 191 output_details = interpreter.get_output_details() 192 self.assertLen(output_details, 1) 193 self.assertEqual(np.float32, output_details[0]['dtype']) 274 output_details = interpreter.get_output_details() 275 self.assertLen(output_details, 1) 277 output_details[0]['dtype']) 332 output_details = interpreter.get_output_details() 333 self.assertLen(output_details, 1) 334 self.assertEqual(np.float32, output_details[0]['dtype']) 401 output_details = interpreter.get_output_details() [all …]
|
D | util_test.py | 126 output_details = interpreter.get_output_details()[0] 129 self.assertEqual(output_details["dtype"], np.uint32) 137 output_data = interpreter.get_tensor(output_details["index"])[0] 363 output_details = interpreter.get_output_details()[0] 367 self.assertEqual(output_details["dtype"], out_tftype.as_numpy_dtype) 384 output_data = interpreter.get_tensor(output_details["index"])[0] 385 if output_details["dtype"] != np.float32: 387 scale, zero_point = output_details["quantization"]
|
D | lite_v2_test_util.py | 60 output_details = interpreter.get_output_details() 67 interpreter.get_tensor(details['index']) for details in output_details
|
/external/tensorflow/tensorflow/python/kernel_tests/signal/ |
D | test_util.py | 90 output_details = the_interpreter.get_output_details() 95 input_ndarrays, input_details, output_details)) 100 for details in output_details]
|
/external/tflite-support/tensorflow_lite_support/custom_ops/python/ |
D | sentencepiece_tokenizer_test.py | 137 output_details = interpreter.get_output_details() 144 interpreter.get_tensor(output_details[0]["index"]), expected_result) 180 output_details = interpreter.get_output_details() 186 interpreter.get_tensor(output_details[0]["index"]), expected_result) 217 output_details = interpreter.get_output_details() 221 interpreter.get_tensor(output_details[0]["index"]), expected_result)
|
D | ragged_tensor_to_tensor_test.py | 46 output_details = interpreter.get_output_details() 52 interpreter.get_tensor(output_details[0]["index"]),
|
/external/tensorflow/tensorflow/lite/tutorials/ |
D | mnist_tflite.py | 60 output_details = interpreter.get_output_details() 67 output_data = interpreter.get_tensor(output_details[0]['index'])
|
/external/tensorflow/tensorflow/lite/examples/python/ |
D | label_image.py | 68 output_details = interpreter.get_output_details() variable 90 output_data = interpreter.get_tensor(output_details[0]['index'])
|
/external/tensorflow/tensorflow/lite/examples/experimental_new_converter/ |
D | keras_lstm.ipynb | 191 "output_details = interpreter.get_output_details()\n", 194 "result = interpreter.get_tensor(output_details[0][\"index\"])\n",
|
D | Keras_LSTM_fusion_Codelab.ipynb | 208 "output_details = interpreter.get_output_details()\n", 214 " result = interpreter.get_tensor(output_details[0][\"index\"])\n",
|
/external/tensorflow/tensorflow/lite/testing/model_coverage/ |
D | model_coverage_lib.py | 313 output_details = interpreter.get_output_details() 321 for output_tensor in output_details 323 output_labels = [output_tensor["name"] for output_tensor in output_details]
|
/external/tensorflow/tensorflow/lite/testing/ |
D | zip_test_utils.py | 404 output_details = interpreter.get_output_details() 406 for output_detail in output_details:
|
/external/tensorflow/tensorflow/lite/g3doc/models/super_resolution/ |
D | overview.ipynb | 221 "output_details = interpreter.get_output_details()\n", 228 "output_data = interpreter.get_tensor(output_details[0]['index'])\n",
|
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/train/ |
D | train_micro_speech_model.ipynb | 499 " output_details = interpreter.get_output_details()[0]\n", 511 " output = interpreter.get_tensor(output_details[\"index\"])[0]\n",
|
/external/tensorflow/tensorflow/lite/g3doc/performance/ |
D | post_training_integer_quant.ipynb | 489 " output_details = interpreter.get_output_details()[0]\n", 504 " output = interpreter.get_tensor(output_details[\"index\"])[0]\n",
|
/external/tensorflow/tensorflow/lite/g3doc/guide/ |
D | inference.md | 477 output_details = interpreter.get_output_details() 488 output_data = interpreter.get_tensor(output_details[0]['index'])
|
/external/tensorflow/tensorflow/lite/micro/examples/hello_world/train/ |
D | train_hello_world_model.ipynb | 3063 " output_details = interpreter.get_output_details()[0]\n", 3072 " y_pred = np.empty(x_test_.size, dtype=output_details[\"dtype\"])\n", 3076 " y_pred[i] = interpreter.get_tensor(output_details[\"index\"])[0]\n", 3079 " output_scale, output_zero_point = output_details[\"quantization\"]\n",
|