Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for name (0.21 sec)

  1. tensorflow/api_template_v1.__init__.py

    setattr(_current_module, "keras", _KerasLazyLoader(globals(), mode="v1"))
    _module_dir = _module_util.get_parent_dir_for_name("keras._tf_keras.keras")
    _current_module.__path__ = [_module_dir] + _current_module.__path__
    if _tf_uses_legacy_keras:
      _module_dir = _module_util.get_parent_dir_for_name("tf_keras.api._v1.keras")
    else:
      _module_dir = _module_util.get_parent_dir_for_name("keras.api._v1.keras")
    _current_module.__path__ = [_module_dir] + _current_module.__path__
    
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. tensorflow/api_template.__init__.py

      )
    
    # Add Keras module aliases
    _losses = _KerasLazyLoader(globals(), submodule="losses", name="losses")
    _metrics = _KerasLazyLoader(globals(), submodule="metrics", name="metrics")
    _optimizers = _KerasLazyLoader(
        globals(), submodule="optimizers", name="optimizers")
    _initializers = _KerasLazyLoader(
        globals(), submodule="initializers", name="initializers")
    setattr(_current_module, "losses", _losses)
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  3. ci/official/utilities/extract_resultstore_links.py

        case_attrib = attrib.copy()
        if command_type:
          command_type = command_type.title()
          case_name = f'{command_type} invocation {invocation_id}'
        else:
          case_name = f' Invocation {invocation_id}'
        case_attrib.update({'name': case_name,
                            'status': 'run', 'result': 'completed'})
    
        testcase = ElemTree.SubElement(testsuite, 'testcase', attrib=case_attrib)
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

          # debugging, but breaks this "number of failures" counter because it's
          # different for repetitions of the same test. We use re.sub(r"0x\w+")
          # to remove it.
          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
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. ci/official/wheel_test/test_import_api_packages.py

        logging.info("Try to import packages at runtime...")
        for package_name in self.api_packages_v2:
          # Convert package name to the short version:
          # tensorflow._api.v2.distribute.experimental to
          # tensorflow.distribute.experimental
          short_package_name = package_name.replace(f"_api.{version}.", "")
          # skip non-importable paths
          if short_package_name not in self.packages_for_skip:
            try:
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Sep 13 15:52:07 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. configure.py

      return answer
    
    
    def symlink_force(target, link_name):
      """Force symlink, equivalent of 'ln -sf'.
    
      Args:
        target: items to link to.
        link_name: name of the link.
      """
      try:
        os.symlink(target, link_name)
      except OSError as e:
        if e.errno == errno.EEXIST:
          os.remove(link_name)
          os.symlink(target, link_name)
        else:
          raise e
    
    
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top