Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Read (0.17 sec)

  1. ci/official/utilities/extract_resultstore_links.py

                  verbose: bool = False) -> ResultDictType:
      """Finds ResultStore links, and tries to determine their status."""
      with open(file_path, 'r', encoding='utf-8', errors='ignore') as f:
        log_lines = f.read().splitlines()
    
      result_store_links: ResultDictType = {}
      current_url = None
      for i in range(len(log_lines)):
        line = log_lines[i]
        result_store_line_match = re.search(RESULT_STORE_LINK_RE, line)
    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)
  2. ci/official/wheel_test/test_import_api_packages.py

              "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()
        # Some paths in the api_packages_path file cannot be directly imported.
    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)
  3. configure.py

                                     n_ask_attempts=_DEFAULT_PROMPT_ASK_ATTEMPTS):
      """Loop over user prompts for an ENV param until receiving a valid response.
    
      For the env param var_name, read from the environment or verify user input
      until receiving valid input. When done, set var_name in the environ_cp to its
      new value.
    
      Args:
        environ_cp: (Dict) copy of the os.environ.
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top