Home
last modified time | relevance | path

Searched refs:resource_loader (Results 1 – 25 of 55) sorted by relevance

123

/external/tensorflow/tensorflow/lite/toco/logging/
Dgen_html_test.py28 from tensorflow.python.platform import resource_loader
57 html_template_path=resource_loader.get_path_to_datafile(
67 resource_loader.get_path_to_datafile("testdata/generated.html"),
76 toco_log_before_path = resource_loader.get_path_to_datafile(
78 toco_log_after_path = resource_loader.get_path_to_datafile(
80 dot_before = resource_loader.get_path_to_datafile(
82 dot_after = resource_loader.get_path_to_datafile(
95 resource_loader.get_path_to_datafile("testdata/generated.html"),
/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibrator_test.py29 from tensorflow.python.platform import resource_loader
41 model_path = resource_loader.get_path_to_datafile(
64 model_path = resource_loader.get_path_to_datafile(
82 model_path = resource_loader.get_path_to_datafile(
97 model_path = resource_loader.get_path_to_datafile(
120 model_path = resource_loader.get_path_to_datafile(
144 model_path = resource_loader.get_path_to_datafile(
158 model_path = resource_loader.get_path_to_datafile(
174 model_path = resource_loader.get_path_to_datafile(
189 model_path = resource_loader.get_path_to_datafile(
[all …]
/external/tensorflow/tensorflow/lite/python/
Dinterpreter_test.py38 from tensorflow.python.platform import resource_loader
47 model_path=resource_loader.get_path_to_datafile(
55 model_path=resource_loader.get_path_to_datafile(
66 model_path=resource_loader.get_path_to_datafile(
72 model_path=resource_loader.get_path_to_datafile(
88 model_path=resource_loader.get_path_to_datafile(
96 model_path=resource_loader.get_path_to_datafile(
102 model_path=resource_loader.get_path_to_datafile(
134 model_path=resource_loader.get_path_to_datafile(
150 model_path = resource_loader.get_path_to_datafile(
[all …]
Dtest_util_test.py24 from tensorflow.python.platform import resource_loader
31 model_path = resource_loader.get_path_to_datafile('../testdata/add.bin')
36 model_path = resource_loader.get_path_to_datafile(
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dmodule_unittest.py13 from py_vulcanize import resource_loader
39 loader = resource_loader.ResourceLoader(project)
67 loader = resource_loader.ResourceLoader(project)
84 loader = resource_loader.ResourceLoader(project)
116 loader = resource_loader.ResourceLoader(project)
Dstyle_sheet_unittest.py10 from py_vulcanize import resource_loader
27 loader = resource_loader.ResourceLoader(project)
52 loader = resource_loader.ResourceLoader(project)
64 loader = resource_loader.ResourceLoader(project)
Dhtml_module_unittest.py19 from py_vulcanize import resource_loader as resource_loader unknown
227 loader = resource_loader.ResourceLoader(project)
276 loader = resource_loader.ResourceLoader(project)
307 loader = resource_loader.ResourceLoader(project)
/external/tensorflow/tensorflow/python/platform/
Dresource_loader_test.py21 from tensorflow.python.platform import resource_loader
28 resource_loader.load_resource("/fake/file/path/dne")
31 contents = resource_loader.load_resource(
/external/tensorflow/tensorflow/python/eager/
Dgradient_input_output_exclusions_test.py25 from tensorflow.python.platform import resource_loader
34 resource_loader.get_root_dir_with_all_resources(),
35 resource_loader.get_path_to_datafile("pywrap_gradient_exclusions.cc"))
/external/tensorflow/tensorflow/tools/api/tests/
Dapi_compatibility_test.py43 from tensorflow.python.platform import resource_loader
89 root_golden_path_v2 = os.path.join(resource_loader.get_data_files_path(),
101 _TEST_README_FILE = resource_loader.get_path_to_datafile('README.txt')
102 _UPDATE_WARNING_FILE = resource_loader.get_path_to_datafile(
210 return os.path.join(resource_loader.get_root_dir_with_all_resources(),
221 resource_loader.get_root_dir_with_all_resources(), _UPDATE_WARNING_FILE)
226 resource_loader.get_root_dir_with_all_resources(), _TEST_README_FILE)
412 os.path.join(resource_loader.get_root_dir_with_all_resources(),
438 resource_loader.get_root_dir_with_all_resources(),
453 os.path.join(resource_loader.get_root_dir_with_all_resources(),
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/
Dwhitespace_tokenizer_test.py29 from tensorflow.python.platform import resource_loader
69 model_filename = resource_loader.get_path_to_datafile(
95 model_filename = resource_loader.get_path_to_datafile(
121 model_filename = resource_loader.get_path_to_datafile(
145 model_filename = resource_loader.get_path_to_datafile(
/external/tflite-support/tensorflow_lite_support/custom_ops/python/
Dsentencepiece_tokenizer.py25 from tensorflow.python.platform import resource_loader
26 gen_sentencepiece_detokenizer_op = load_library.load_op_library(resource_loader.get_path_to_datafil…
28 from tensorflow.python.platform import resource_loader
29 gen_sentencepiece_tokenizer_op = load_library.load_op_library(resource_loader.get_path_to_datafile(…
/external/tensorflow/tensorflow/lite/ios/
Dextract_object_files_test.py24 from tensorflow.python.platform import resource_loader
54 archive_path = resource_loader.get_path_to_datafile(input_file_relpath)
66 resource_loader.get_path_to_datafile(
/external/tensorflow/tensorflow/lite/python/testdata/
Ddouble_op.py24 from tensorflow.python.platform import resource_loader
27 resource_loader.get_path_to_datafile('_double_op.so'))
/external/tensorflow/tensorflow/python/kernel_tests/
Dinvalid_op_test.py24 from tensorflow.python.platform import resource_loader
31 library_filename = os.path.join(resource_loader.get_data_files_path(),
Dackermann_test.py24 from tensorflow.python.platform import resource_loader
32 library_filename = os.path.join(resource_loader.get_data_files_path(),
Dduplicate_op_test.py25 from tensorflow.python.platform import resource_loader
33 library_filename = os.path.join(resource_loader.get_data_files_path(),
Ddecode_jpeg_op_test.py33 from tensorflow.python.platform import resource_loader
66 image_file_path = resource_loader.get_path_to_datafile(
72 image_file_path = resource_loader.get_path_to_datafile(
/external/tensorflow/tensorflow/python/framework/
Dfile_system_test.py26 from tensorflow.python.platform import resource_loader
34 file_system_library = resource_loader.get_path_to_datafile(
/external/tensorflow/tensorflow/python/tools/api/generator/
Doutput_init_files_test.py35 from tensorflow.python.platform import resource_loader
169 file_path = resource_loader.get_path_to_datafile(
181 file_path = resource_loader.get_path_to_datafile(
/external/tensorflow/tensorflow/lite/experimental/microfrontend/python/ops/
Daudio_microfrontend_op.py26 from tensorflow.python.platform import resource_loader
30 resource_loader.get_path_to_datafile("_audio_microfrontend_op.so"))
/external/tensorflow/tensorflow/lite/tools/signature/
Dsignature_def_utils_test.py33 filename = tf.compat.v1.resource_loader.get_path_to_datafile(
38 tf.compat.v1.resource_loader.get_root_dir_with_all_resources()))
/external/tensorflow/tensorflow/lite/schema/
Dupgrade_schema.py39 from tensorflow.python.platform import resource_loader
85 self._flatc_path = resource_loader.get_path_to_datafile(p)
89 return resource_loader.get_path_to_datafile("%s" % base_name)
/external/tensorflow/tensorflow/lite/tools/
Dconvert_image_to_csv_test.py28 from tensorflow.python.platform import resource_loader
31 PREFIX_PATH = resource_loader.get_path_to_datafile("../../core/lib/")
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_from_protos_test.py27 from tensorflow.python.platform import resource_loader
70 tflite_bin = resource_loader.get_path_to_datafile("toco_from_protos.par")

123