Home
last modified time | relevance | path

Searched refs:model_asset_path (Results 1 – 3 of 3) sorted by relevance

/external/tflite-support/tensorflow_lite_support/codegen/python/
Dcodegen.py71 model_asset_path = FLAGS.model_asset_path
72 if not model_asset_path:
73 model_asset_path = os.path.basename(FLAGS.model)
75 FLAGS.model_class_name, model_asset_path)
89 model_asset_path = os.path.join(FLAGS.destination, 'src/main/assets',
90 model_asset_path)
91 prepare_directory_for_file(model_asset_path)
92 shutil.copy(FLAGS.model, model_asset_path)
/external/tflite-support/tensorflow_lite_support/codegen/
Dandroid_java_generator.h55 std::string model_asset_path; member
95 const std::string& model_asset_path);
103 const std::string& model_asset_path);
Dandroid_java_generator.cc167 const std::string& model_asset_path, in CreateModelInfo() argument
177 model_info.model_asset_path = model_asset_path; in CreateModelInfo()
237 code_writer->SetTokenValue("MODEL_PATH", model_info.model_asset_path); in SetCodeWriterWithModelInfo()
980 const std::string& model_class_name, const std::string& model_asset_path) { in Generate() argument
995 metadata, package_name, model_class_name, model_asset_path, &err_); in Generate()
1006 const std::string& model_class_name, const std::string& model_asset_path) { in Generate() argument
1008 return Generate(model, package_name, model_class_name, model_asset_path); in Generate()