Home
last modified time | relevance | path

Searched refs:FlatbufferFileFormat (Results 1 – 7 of 7) sorted by relevance

/aosp_15_r20/external/pytorch/test/cpp/jit/
H A Dtest_file_format.cpp19 EXPECT_EQ(getFileFormat(data), FileFormat::FlatbufferFileFormat); in TEST()
43 EXPECT_EQ(getFileFormat(data), FileFormat::FlatbufferFileFormat); in TEST()
82 EXPECT_EQ(getFileFormat(data), FileFormat::FlatbufferFileFormat); in TEST()
110 EXPECT_EQ(getFileFormat(data), FileFormat::FlatbufferFileFormat); in TEST()
/aosp_15_r20/external/pytorch/torch/csrc/jit/mobile/
H A Dfile_format.h39 FlatbufferFileFormat, enumerator
79 return FileFormat::FlatbufferFileFormat; in getFileFormat()
H A Dimport.cpp588 case FileFormat::FlatbufferFileFormat: { in _load_mobile_from_bytes()
626 if (getFileFormat(in) == FileFormat::FlatbufferFileFormat) { in _load_for_mobile()
656 if (format == FileFormat::FlatbufferFileFormat) { in _load_for_mobile()
698 case FileFormat::FlatbufferFileFormat: { in _load_extra_only_for_mobile()
H A Dimport_data.cpp239 case FileFormat::FlatbufferFileFormat: { in _load_parameters_bytes()
/aosp_15_r20/external/pytorch/torch/csrc/jit/serialization/
H A Dimport.cpp371 if (getFileFormat(in) != FileFormat::FlatbufferFileFormat) { in import_ir_module()
418 if (getFileFormat(filename) != FileFormat::FlatbufferFileFormat) { in import_ir_module()
528 case FileFormat::FlatbufferFileFormat: { in _load_jit_module_from_bytes()
/aosp_15_r20/external/pytorch/torch/csrc/jit/mobile/compatibility/
H A Dmodel_compatibility.cpp110 case FileFormat::FlatbufferFileFormat: { in _get_model_bytecode_version_from_bytes()
/aosp_15_r20/external/pytorch/torch/csrc/jit/python/
H A Dscript_init.cpp2359 case FileFormat::FlatbufferFileFormat: in initJitScriptBindings()