ONE - On-device Neural Engine
|
Functions | |
regular_step () | |
save_result (output_path, output_data) | |
read_input (input_path) | |
common_place.read_input | ( | input_path | ) |
Definition at line 64 of file common_place.py.
Referenced by model_runner_caffe.run_caffe(), model_runner_caffe2.run_caffe2(), model_runner_onnx.run_onnx(), and model_runner_tflite.run_tflite().
common_place.regular_step | ( | ) |
This function is intended to decompose the necessary steps to obtain information from the command line. :return: argparse object, which hold paths to nn model and input data
Definition at line 6 of file common_place.py.
common_place.save_result | ( | output_path, | |
output_data | |||
) |
This function save result of nn working in .hdf5 file :param output_path: you specify directory to store your result :param output_data: information that you write to .hdf5 file :return:
Definition at line 50 of file common_place.py.
Referenced by model_runner_caffe.run_caffe(), model_runner_caffe2.run_caffe2(), model_runner_onnx.run_onnx(), and model_runner_tflite.run_tflite().