- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for if (0.12 sec)
-
tensorflow/api_template.__init__.py
_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__: __path__.append(_tf_api_dir) # Hook external TensorFlow modules. # Load tensorflow-io-gcs-filesystem if enabled if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or _os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"):
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
indent_str = '\n' + level * ' ' if len(elem): # pylint: disable=g-explicit-length-test # `if elem` not valid if not elem.text or not elem.text.strip(): elem.text = indent_str + ' ' if not elem.tail or not elem.tail.strip(): elem.tail = indent_str for elem in elem: indent_xml(elem, level + 1) if not elem.tail or not elem.tail.strip(): elem.tail = indent_str
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
key = re.sub(r"0x\w+", "", p.getparent().get("name", "")) + p.text if key in seen: testsuite._elem.remove(p.getparent()) seen[key] += 1 # Remove this testsuite if it doesn't have anything in it any more if len(testsuite) == 0: # pylint: disable=g-explicit-length-test r._elem.remove(testsuite._elem) if len(r) > 0: # pylint: disable=g-explicit-length-test result += r
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) -
tensorflow/api_template_v1.__init__.py
* https://github.com/tensorflow/io (for I/O related ops) If you depend on functionality not listed there, please file an issue. """ contrib = _LazyLoader("contrib", globals(), "tensorflow.contrib", _CONTRIB_WARNING) # The templated code that replaces the placeholder above sometimes # sets the __all__ variable. If it does, we have to be sure to add # "contrib". if "__all__" in vars(): vars()["__all__"].append("contrib")
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) -
configure.py
gcc_env = get_gcc_compiler(environ_cp) if gcc_env is not None: # Use gold linker if 'gcc' and if 'ppc64le' write_to_bazelrc('build --linkopt="-fuse-ld=gold"') # Get the linker version ld_version = run_shell([gcc_env, '-Wl,-version']).split() ld_version_int = convert_version_to_int(ld_version[3]) if ld_version_int is None:
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
# skip non-importable paths if short_package_name not in self.packages_for_skip: try: __import__(short_package_name) except ImportError: logging.exception("error importing %s", short_package_name) failed_packages.append(package_name) if failed_packages: self.fail( "Failed to import"
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)