Searched refs:output_details (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/lite/python/ |
D | lite_test.py | 110 output_details = interpreter.get_output_details() 111 self.assertEqual(1, len(output_details)) 112 self.assertEqual('add', output_details[0]['name']) 113 self.assertEqual(np.float32, output_details[0]['dtype']) 114 self.assertTrue(([1, 16, 16, 3] == output_details[0]['shape']).all()) 115 self.assertEqual((0., 0.), output_details[0]['quantization']) 138 output_details = interpreter.get_output_details() 139 self.assertEqual(1, len(output_details)) 140 self.assertEqual('Reshape', output_details[0]['name']) 141 self.assertEqual(np.string_, output_details[0]['dtype']) [all …]
|
D | interpreter_test.py | 45 output_details = interpreter.get_output_details() 46 self.assertEqual(1, len(output_details)) 47 self.assertEqual('output', output_details[0]['name']) 48 self.assertEqual(np.float32, output_details[0]['dtype']) 49 self.assertTrue(([1, 4] == output_details[0]['shape']).all()) 50 self.assertEqual((0.0, 0), output_details[0]['quantization']) 57 output_data = interpreter.get_tensor(output_details[0]['index']) 76 output_details = interpreter.get_output_details() 77 self.assertEqual(1, len(output_details)) 78 self.assertEqual('output', output_details[0]['name']) [all …]
|
D | convert_test.py | 119 output_details = interpreter.get_output_details() 120 self.assertEqual(1, len(output_details)) 121 self.assertEqual("add", output_details[0]["name"]) 122 self.assertEqual(np.float32, output_details[0]["dtype"]) 123 self.assertTrue(([1, 16, 16, 3] == output_details[0]["shape"]).all()) 124 self.assertEqual((0., 0.), output_details[0]["quantization"]) 163 output_details = interpreter.get_output_details() 164 self.assertEqual(1, len(output_details)) 165 self.assertEqual("output", output_details[0]["name"]) 166 self.assertEqual(np.uint8, output_details[0]["dtype"]) [all …]
|
D | lite_v2_test.py | 46 output_details = interpreter.get_output_details() 51 return interpreter.get_tensor(output_details[0]['index'])
|
/external/tensorflow/tensorflow/lite/tutorials/ |
D | mnist_tflite.py | 59 output_details = interpreter.get_output_details() 66 output_data = interpreter.get_tensor(output_details[0]['index'])
|
/external/tensorflow/tensorflow/lite/examples/python/ |
D | label_image.py | 55 output_details = interpreter.get_output_details() variable 77 output_data = interpreter.get_tensor(output_details[0]['index'])
|
/external/tensorflow/tensorflow/lite/testing/model_coverage/ |
D | model_coverage_lib.py | 128 output_details = interpreter.get_output_details() 136 for output_tensor in output_details
|
/external/tensorflow/tensorflow/lite/g3doc/r2/convert/ |
D | python_api.md | 141 output_details = interpreter.get_output_details() 149 output_data = interpreter.get_tensor(output_details[0]['index'])
|
/external/tensorflow/tensorflow/lite/g3doc/convert/ |
D | python_api.md | 200 output_details = interpreter.get_output_details() 208 output_data = interpreter.get_tensor(output_details[0]['index'])
|