ONE - On-device Neural Engine
Loading...
Searching...
No Matches
eval_result_verifier.py File Reference

Go to the source code of this file.

Namespaces

namespace  eval_result_verifier
 

Variables

 eval_result_verifier.parser = argparse.ArgumentParser()
 
 eval_result_verifier.type
 
 eval_result_verifier.str
 
 eval_result_verifier.required
 
 eval_result_verifier.args = parser.parse_args()
 
 eval_result_verifier.driver = args.driver
 
 eval_result_verifier.tflite_model = args.tflite
 
 eval_result_verifier.circle_model = args.circle
 
 eval_result_verifier.interpreter = tf.lite.Interpreter(tflite_model)
 
 eval_result_verifier.full_signatures = interpreter._get_full_signature_list()
 
 eval_result_verifier.full_signatures_outputs_remap = None
 
 eval_result_verifier.signature_serving_default = full_signatures.get('serving_default', None)
 
 eval_result_verifier.signature_outputs = signature_serving_default['outputs']
 
 eval_result_verifier.num_inputs = len(interpreter.get_input_details())
 
 eval_result_verifier.input_details = interpreter.get_input_details()[i]
 
 eval_result_verifier.input_data
 
 eval_result_verifier.check
 
 eval_result_verifier.inpt_output_details = interpreter.get_output_details()
 
 eval_result_verifier.output_details = inpt_output_details[idx]
 
 eval_result_verifier.output_data
 
 eval_result_verifier.shape_file = open(circle_model + ".output" + str(idx) + ".shape", 'r')
 
list eval_result_verifier.output_shape = [int(i) for i in shape_file.read().split(',')]
 
 eval_result_verifier.luci_output_data = np.reshape(output_data, output_shape)
 
 eval_result_verifier.output_tensor = output_details["index"]
 
 eval_result_verifier.intp_output_data = interpreter.get_tensor(output_tensor)
 
 eval_result_verifier.rtol
 
 eval_result_verifier.atol