Home
last modified time | relevance | path

Searched refs:output_details (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/python/
Dlite_test.py110 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 …]
Dinterpreter_test.py45 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 …]
Dconvert_test.py119 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 …]
Dlite_v2_test.py46 output_details = interpreter.get_output_details()
51 return interpreter.get_tensor(output_details[0]['index'])
/external/tensorflow/tensorflow/lite/tutorials/
Dmnist_tflite.py59 output_details = interpreter.get_output_details()
66 output_data = interpreter.get_tensor(output_details[0]['index'])
/external/tensorflow/tensorflow/lite/examples/python/
Dlabel_image.py55 output_details = interpreter.get_output_details() variable
77 output_data = interpreter.get_tensor(output_details[0]['index'])
/external/tensorflow/tensorflow/lite/testing/model_coverage/
Dmodel_coverage_lib.py128 output_details = interpreter.get_output_details()
136 for output_tensor in output_details
/external/tensorflow/tensorflow/lite/g3doc/r2/convert/
Dpython_api.md141 output_details = interpreter.get_output_details()
149 output_data = interpreter.get_tensor(output_details[0]['index'])
/external/tensorflow/tensorflow/lite/g3doc/convert/
Dpython_api.md200 output_details = interpreter.get_output_details()
208 output_data = interpreter.get_tensor(output_details[0]['index'])