Home
last modified time | relevance | path

Searched refs:input_file_path (Results 1 – 24 of 24) sorted by relevance

/aosp_15_r20/external/tensorflow/tensorflow/examples/speech_commands/
H A Dwav_to_features_test.py54 input_file_path = os.path.join(tmp_dir, "input.wav")
57 self._saveTestWavFile(input_file_path, wav_data)
59 input_file_path, output_file_path)
70 input_file_path = os.path.join(tmp_dir, "input.wav")
73 self._saveTestWavFile(input_file_path, wav_data)
75 input_file_path, output_file_path)
/aosp_15_r20/system/tools/sysprop/
DCommon.cpp295 Result<sysprop::Properties> ParseProps(const std::string& input_file_path) { in ParseProps() argument
299 if (!android::base::ReadFileToString(input_file_path, &file_contents, true)) { in ParseProps()
300 return ErrnoErrorf("Error reading file {}", input_file_path); in ParseProps()
304 return Errorf("Error parsing file {}", input_file_path); in ParseProps()
318 const std::string& input_file_path) { in ParseApiFile() argument
322 if (!android::base::ReadFileToString(input_file_path, &file_contents, true)) { in ParseApiFile()
323 return ErrnoErrorf("Error reading file {}", input_file_path); in ParseApiFile()
327 return Errorf("Error parsing file {}", input_file_path); in ParseApiFile()
337 input_file_path, props->module()); in ParseApiFile()
DRustMain.cpp34 std::string input_file_path; member
83 args->input_file_path = argv[optind]; in ParseArgs()
99 if (auto res = GenerateRustLibrary(args.input_file_path, args.scope, in main()
103 << args.input_file_path << ": " << res.error(); in main()
DJavaMain.cpp35 std::string input_file_path; member
84 args->input_file_path = argv[optind]; in ParseArgs()
100 if (auto res = GenerateJavaLibrary(args.input_file_path, args.scope, in main()
104 << args.input_file_path << ": " << res.error(); in main()
DCppMain.cpp34 std::string input_file_path; member
94 ret.input_file_path = argv[optind]; in ParseArgs()
110 if (auto res = GenerateCppFiles(args.input_file_path, args.header_dir, in main()
115 << args.input_file_path << ": " << res.error(); in main()
DRustGen.cpp345 Result<void> GenerateRustLibrary(const std::string& input_file_path, in GenerateRustLibrary() argument
350 if (auto res = ParseProps(input_file_path); res.ok()) { in GenerateRustLibrary()
DJavaGen.cpp469 Result<void> GenerateJavaLibrary(const std::string& input_file_path, in GenerateJavaLibrary() argument
474 if (auto res = ParseProps(input_file_path); res.ok()) { in GenerateJavaLibrary()
/aosp_15_r20/external/tensorflow/tensorflow/lite/tools/benchmark/
H A Dbenchmark_tflite_model.cc244 info->at(layer_info_idx).input_file_path = name_file_pair.second; in PopulateInputValueFiles()
535 const TfLiteTensor& t, const std::string& input_file_path) { in LoadInputTensorData() argument
536 std::ifstream value_file(input_file_path, std::ios::binary); in LoadInputTensorData()
539 << input_file_path; in LoadInputTensorData()
546 if (input_file_path.size() > 3 && in LoadInputTensorData()
547 input_file_path.substr(input_file_path.size() - 3) == ".pb") { in LoadInputTensorData()
554 << " bytes data from " << input_file_path << "."; in LoadInputTensorData()
569 << input_file_path << ") is " << num_line << ". It should be " in LoadInputTensorData()
576 TFLITE_LOG(FATAL) << "The size of " << input_file_path << " is " in LoadInputTensorData()
622 if (input_layer_info && !input_layer_info->input_file_path.empty()) { in PrepareInputData()
[all …]
H A Dbenchmark_tflite_model.h73 std::string input_file_path; member
108 const TfLiteTensor& t, const std::string& input_file_path);
/aosp_15_r20/external/tensorflow/tensorflow/tools/optimization/
H A Dgpu_optimization_pass_runner_main.cc32 string input_file_path; in RealMain() local
37 Flag("input_file_path", &input_file_path, "Location of the input graph."), in RealMain()
49 if (input_file_path.empty()) { in RealMain()
61 ReadTextProto(Env::Default(), input_file_path, &graphdef_input)); in RealMain()
/aosp_15_r20/external/pytorch/android/pytorch_android/
H A Dgenerate_test_asset.cpp10 std::string input_file_path{argv[1]}; in main() local
13 std::ifstream ifs(input_file_path); in main()
/aosp_15_r20/external/executorch/examples/arm/executor_runner/
H A Dpte_to_header.py18 def input_file_path(path): function
30 type=input_file_path,
/aosp_15_r20/external/rust/crates/v4l2r/ffi/examples/c_fwht_decode/
Dfwht_decode.c66 static const char *input_file_path = "sample.fwht"; variable
144 FILE *input_file = fopen(input_file_path, "r"); in main()
/aosp_15_r20/build/make/tools/aconfig/aconfig_storage_file/src/
H A Dmain.rs174 let input_file_path = sub_matches.get_one::<String>("input-file").unwrap(); in main() localVariable
175 let input_json = fs::read_to_string(input_file_path).unwrap(); in main()
/aosp_15_r20/external/v4l2_codec2/tests/c2_e2e_test/jni/
H A Dvideo_encoder_e2e_test.cpp158 std::string input_file_path() const { return input_file_path_; } in input_file_path() function in android::C2VideoEncoderTestEnvironment
202 encoder_ = MediaCodecEncoder::Create(g_env->input_file_path(), g_env->codec(), in SetUp()
H A Dvideo_decoder_e2e_test.cpp98 std::string input_file_path() const { return input_file_path_; } in input_file_path() function in android::C2VideoDecoderTestEnvironment
256 decoder_ = MediaCodecDecoder::Create(g_env->input_file_path(), g_env->video_codec_profile(), in SetUp()
/aosp_15_r20/system/tools/sysprop/include/
DRustGen.h26 const std::string& input_file_path, sysprop::Scope scope,
DJavaGen.h25 const std::string& input_file_path, sysprop::Scope scope,
DCppGen.h23 const std::string& input_file_path, const std::string& header_dir,
/aosp_15_r20/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
H A DExtractorTest.java52 private static final String mInputFilePath = mContext.getString(R.string.input_file_path);
H A DMuxerTest.java59 private static final String mInputFilePath = mContext.getString(R.string.input_file_path);
H A DDecoderTest.java58 private static final String mInputFilePath = mContext.getString(R.string.input_file_path);
H A DEncoderTest.java63 private static final String mInputFilePath = mContext.getString(R.string.input_file_path);
/aosp_15_r20/art/odrefresh/
H A Dodrefresh.cc152 std::string input_file_path = file->GetPath(); in MoveOrEraseFiles() local
158 PLOG(ERROR) << "Failed to rename " << QuotePath(input_file_path) << " to " in MoveOrEraseFiles()