Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for virs (0.14 sec)

  1. tensorflow/api_template.__init__.py

    _site_packages_dirs = []
    if _site.ENABLE_USER_SITE and _site.USER_SITE is not None:
      _site_packages_dirs += [_site.USER_SITE]
    _site_packages_dirs += [p for p in _sys.path if "site-packages" in p]
    if "getsitepackages" in dir(_site):
      _site_packages_dirs += _site.getsitepackages()
    
    if "sysconfig" in dir(_distutils):
      _site_packages_dirs += [_distutils.sysconfig.get_python_lib()]
    
    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. scripts/docs.py

        os.chdir(lang_path)
        shutil.rmtree(build_site_dist_path, ignore_errors=True)
        subprocess.run(["mkdocs", "build", "--site-dir", build_site_dist_path], check=True)
        shutil.copytree(build_site_dist_path, dist_path, dirs_exist_ok=True)
        os.chdir(current_dir)
        typer.secho(f"Successfully built docs for: {lang}", color=typer.colors.GREEN)
    
    
    index_sponsors_template = """
    {% if sponsors %}
    {% for sponsor in sponsors.gold -%}
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  3. tensorflow/api_template_v1.__init__.py

    # Get sitepackages directories for the python installation.
    _site_packages_dirs = []
    _site_packages_dirs += [] if _site.USER_SITE is None else [_site.USER_SITE]
    _site_packages_dirs += [p for p in _sys.path if "site-packages" in p]
    if "getsitepackages" in dir(_site):
      _site_packages_dirs += _site.getsitepackages()
    
    if "sysconfig" in dir(_distutils):
      _site_packages_dirs += [_distutils.sysconfig.get_python_lib()]
    
    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. tests/test_inherited_custom_class.py

            return uuid.UUID
    
        @property
        def __dict__(self):
            """Spoof a missing __dict__ by raising TypeError, this is how
            asyncpg.pgroto.pgproto.UUID behaves"""
            raise TypeError("vars() argument must have __dict__ attribute")
    
    
    @needs_pydanticv2
    def test_pydanticv2():
        from pydantic import field_serializer
    
        app = FastAPI()
    
        @app.get("/fast_uuid")
        def return_fast_uuid():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. fastapi/encoders.py

                return encoder(obj)
    
        try:
            data = dict(obj)
        except Exception as e:
            errors: List[Exception] = []
            errors.append(e)
            try:
                data = vars(obj)
            except Exception as e:
                errors.append(e)
                raise ValueError(errors) from e
        return jsonable_encoder(
            data,
            include=include,
            exclude=exclude,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  6. configure.py

      environ_cp['TF_CUDA_COMPUTE_CAPABILITIES'] = tf_cuda_compute_capabilities
      write_action_env_to_bazelrc(
          'TF_CUDA_COMPUTE_CAPABILITIES', tf_cuda_compute_capabilities
      )
    
    
    def set_other_cuda_vars(environ_cp):
      """Set other CUDA related variables."""
      # If CUDA is enabled, always use GPU during build and test.
      if environ_cp.get('TF_CUDA_CLANG') == '1':
        write_to_bazelrc('build --config=cuda_clang')
    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