Lines Matching refs:header
116 header = get_header(params["tflite_generator"], params["interpreter"])
127 write_config(fpaths["config_data"], config_params, params["name"], fpaths["test_data"], header)
134 … write_c_array(tensor, fpaths[name], dtype, params["name"], name, fpaths["test_data"], header)
221 def write_config(config_fpath, params, prefix, test_data_fpath, header): argument
223 f.write(header)
239 def write_c_array(data, fname, dtype, prefix, tensor_name, test_data_fpath, header): argument
252 f.write(header)
375 header = f"// Generated by {os.path.basename(sys.argv[0])}"
377 … header += f" using tensorflow version {tf.__version__} (Keras version {keras.__version__}).\n"
392 header += f" using {str(flatc_version)[2:-3]}\n"
399 header += f"// Interpreter from tensorflow version {version} and revision {revision}.\n"
405 header += f"// Interpreter from tflite_runtime version {version} and revision {revision}.\n"
408 header += f"// Interpreter from tflite_micro runtime version {version}.\n"
412 return header