Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for startsWith (0.16 sec)

  1. tensorflow/api_template.__init__.py

    # Find the location of this exact file.
    _current_file_location = _inspect.getfile(_inspect.currentframe())
    
    def _running_from_pip_package():
      return any(
          _current_file_location.startswith(dir_) for dir_ in _site_packages_dirs)
    
    if _running_from_pip_package():
      # TODO(gunan): Add sanity checks to loaded modules here.
    
      # Load first party dynamic kernels.
    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)
  2. ci/official/utilities/extract_resultstore_links.py

        k = end_line
        while k > start_line:
          backtrack_line = log_lines[k]
          build_failed = backtrack_line.startswith(FAILED_BUILD_LINE)
          if build_failed or not backtrack_line.startswith(BUILD_STATUS_LINE):
            tests_failed = False
          else:
            tests_failed = re.search(TESTS_FAILED_RE, backtrack_line)
          if build_failed or tests_failed:
    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)
  3. tensorflow/api_template_v1.__init__.py

    # Find the location of this exact file.
    _current_file_location = _inspect.getfile(_inspect.currentframe())
    
    def _running_from_pip_package():
      return any(
          _current_file_location.startswith(dir_) for dir_ in _site_packages_dirs)
    
    if _running_from_pip_package():
      # TODO(gunan): Add sanity checks to loaded modules here.
    
      # Load first party dynamic kernels.
    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)
  4. configure.py

    
    def is_ppc64le():
      return platform.machine() == 'ppc64le'
    
    
    def is_s390x():
      return platform.machine() == 's390x'
    
    
    def is_cygwin():
      return platform.system().startswith('CYGWIN_NT')
    
    
    def get_input(question):
      try:
        try:
          answer = raw_input(question)
        except NameError:
          answer = input(question)  # pylint: disable=bad-builtin
      except EOFError:
    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)
Back to top