Searched refs:converter (Results 1 – 1 of 1) sorted by relevance
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/ |
D | generate_test_data.py | 231 def convert_tensor_np(self, tensor_in, converter, *qminmax): argument 236 fw = converter(w, qminmax[0], qminmax[1]) 238 fw = converter(w) 242 def convert_tensor(self, tensor_in, converter, *qminmax): argument 251 float_normal.append(converter(i, qminmax[0], qminmax[1])) 253 float_normal.append(converter(i)) 464 converter = tf.lite.TFLiteConverter.from_keras_model(model) 468 converter.optimizations = [tf.lite.Optimize.DEFAULT] 469 converter.representative_dataset = representative_dataset 471 converter.target_spec.supported_ops = [ [all …]
|