- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for paths (0.12 sec)
-
tensorflow/api_template.__init__.py
# Make sure directory containing top level submodules is in # the __path__ so that "from tensorflow.foo import bar" works. # We're using bitwise, but there's nothing special about that. _API_MODULE = _sys.modules[__name__].bitwise _tf_api_dir = _os.path.dirname(_os.path.dirname(_API_MODULE.__file__)) _current_module = _sys.modules[__name__] if not hasattr(_current_module, "__path__"): __path__ = [_tf_api_dir] elif _tf_api_dir not in __path__:
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 05 06:27:59 GMT 2024 - 6.7K bytes - Viewed (3) -
ci/official/utilities/extract_resultstore_links.py
i += 1 def main(): args = parse_args() verbose = args.verbose build_log_path = os.path.expandvars(args.build_log) links = parse_log(build_log_path, verbose=verbose) if args.xml_out_path: output_path = os.path.expandvars(args.xml_out_path) create_xml_file(links, output_path, verbose=verbose) if args.print: print_invocation_results(links) if __name__ == '__main__':
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py
) p.text += ( "\n Flakes make this pkg/pip_and_nonpip_tests target show " "as failing," ) p.text += "\n but do not make the Kokoro invocation fail." os.makedirs(os.path.dirname(sys.argv[2]), exist_ok=True) result.update_statistics()
Python - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 19:00:37 GMT 2023 - 4.8K bytes - Viewed (0) -
configure.py
all_paths = set(python_paths + library_paths) # Sort set so order is deterministic all_paths = sorted(all_paths) paths = [] for path in all_paths: if os.path.isdir(path): paths.append(path) return paths def get_python_major_version(python_bin_path): """Get the python major version.""" return run_shell([python_bin_path, '-c', 'import sys; print(sys.version[0])'])
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 18:25:36 GMT 2024 - 53.8K bytes - Viewed (1) -
ci/official/wheel_test/test_import_api_packages.py
def _get_api_packages_v2(): api_packages_path = pkg_resources.resource_filename( "tensorflow", "_api/v2/api_packages.txt" ) logging.info("Load api packages file: %s", api_packages_path) with open(api_packages_path) as file: return set(file.read().splitlines()) super().setUp() self.api_packages_v2 = _get_api_packages_v2()
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 13 15:52:07 GMT 2023 - 3.3K bytes - Viewed (0) -
tensorflow/api_template_v1.__init__.py
# the __path__ so that "from tensorflow.foo import bar" works. # We're using bitwise, but there's nothing special about that. _API_MODULE = _sys.modules[__name__].bitwise # pylint: disable=undefined-variable _current_module = _sys.modules[__name__] _tf_api_dir = _os.path.dirname(_os.path.dirname(_API_MODULE.__file__)) if not hasattr(_current_module, "__path__"): __path__ = [_tf_api_dir]
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 23 02:14:00 GMT 2024 - 7.4K bytes - Viewed (0)