Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 855 for python (0.15 sec)

  1. ci/official/utilities/rename_and_verify_wheels.sh

      exit 2
    fi
    
    # Quick install checks
    venv=$(mktemp -d)
    "python${TFCI_PYTHON_VERSION}" -m venv "$venv"
    python="$venv/bin/python3"
    "$python" -m pip install *.whl $TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS
    if [[ "$TFCI_WHL_IMPORT_TEST_ENABLE" == "1" ]]; then
      "$python" -c 'import tensorflow as tf; t1=tf.constant([1,2,3,4]); t2=tf.constant([5,6,7,8]); print(tf.add(t1,t2).shape)'
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-params-str-validations.md

    * `Annotated` from `typing` (or from `typing_extensions` in Python below 3.9)
    
    === "Python 3.10+"
    
        In Python 3.9 or above, `Annotated` is part of the standard library, so you can import it from `typing`.
    
        ```Python hl_lines="1  3"
        {!> ../../../docs_src/query_params_str_validations/tutorial002_an_py310.py!}
        ```
    
    === "Python 3.8+"
    
        In versions of Python below Python 3.9 you import `Annotated` from `typing_extensions`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-nested-models.md

    For example, we can define an `Image` model:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7-9"
        {!> ../../../docs_src/body_nested_models/tutorial004_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="9-11"
        {!> ../../../docs_src/body_nested_models/tutorial004_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9-11"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. ci/official/utilities/setup_macos.sh

      # Install the necessary Python, unless it's already present
      pyenv install -s "$TFCI_PYTHON_VERSION"
      pyenv local "$TFCI_PYTHON_VERSION"
      # Do a sanity check to make sure that we using the correct Python version
      python --version
    fi
    
    # TFCI Mac VM images do not have twine installed by default so we need to
    # install it manually. We use Twine in nightly builds to upload Python packages
    # to PyPI.
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:23:28 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/extra-models.md

    Genauso können Sie eine Response deklarieren, die eine Liste von Objekten ist.
    
    Verwenden Sie dafür Pythons Standard `typing.List` (oder nur `list` in Python 3.9 und darüber):
    
    === "Python 3.9+"
    
        ```Python hl_lines="18"
        {!> ../../../docs_src/extra_models/tutorial004_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  20"
        {!> ../../../docs_src/extra_models/tutorial004.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:47 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/request-files.md

    === "Python 3.9+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/request_files/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="8"
        {!> ../../../docs_src/request_files/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/request_files/tutorial001.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/body-multiple-params.md

    ```Python
    q: Union[str, None] = None
    ```
    
    Oder in Python 3.10 und darüber:
    
    ```Python
    q: str | None = None
    ```
    
    Zum Beispiel:
    
    === "Python 3.10+"
    
        ```Python hl_lines="27"
        {!> ../../../docs_src/body_multiple_params/tutorial004_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="27"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 29 17:32:43 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/extra-models.md

    Для этого используйте `typing.List` из стандартной библиотеки Python (или просто `list` в Python 3.9 и выше):
    
    === "Python 3.9+"
    
        ```Python hl_lines="18"
        {!> ../../../docs_src/extra_models/tutorial004_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  20"
        {!> ../../../docs_src/extra_models/tutorial004.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/security/oauth2-scopes.md

    === "Python 3.10+"
    
        ```Python hl_lines="62-65"
        {!> ../../../docs_src/security/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="62-65"
        {!> ../../../docs_src/security/tutorial005_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="63-66"
        {!> ../../../docs_src/security/tutorial005_an.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. .github/workflows/sigbuild-docker-presubmit.yml

    permissions:
      contents: read
    
    jobs:
      docker:
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        runs-on: ubuntu-latest
        strategy:
          matrix:
            python-version: [python3.9, python3.10, python3.11, python3.12]
        permissions:
          contents: read
          pull-requests: write
        steps:
          - name: Delete unnecessary tools folder
            run: |
              df -h
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Oct 23 18:43:43 GMT 2023
    - 4K bytes
    - Viewed (0)
Back to top