- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for Python (0.17 sec)
-
ci/official/containers/linux_arm64/setup.python.sh
# # setup.python.sh: Install a specific Python version and packages for it. # Usage: setup.python.sh <pyversion> <requirements.txt> set -xe source ~/.bashrc VERSION=$1 REQUIREMENTS=$2 add-apt-repository ppa:deadsnakes/ppa # Install Python packages for this container's version cat >pythons.txt <<EOF $VERSION $VERSION-dev $VERSION-venv $VERSION-distutils EOF
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Sep 29 00:26:34 GMT 2023 - 2.1K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh
# # This will create a venv with that wheel file installed in it, and a symlink # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the # "pip" tests. python -m venv /$1 mkdir -p $1 rm -f ./$1/tensorflow ln -s $(ls /$1/lib) /$1/lib/python3 ln -s ../tensorflow $1/tensorflow # extglob is necessary for @(a|b) pattern matching # see "extglob" in the bash manual page ($ man bash) bash -O extglob -c "/$1/bin/pip install $2"
Shell Script - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 1.4K bytes - Viewed (0) -
configure
#!/usr/bin/env bash set -e set -o pipefail if [ -z "$PYTHON_BIN_PATH" ]; then PYTHON_BIN_PATH=$(which python3 || which python || true) fi # Set all env variables CONFIGURE_DIR=$(dirname "$0") "$PYTHON_BIN_PATH" "${CONFIGURE_DIR}/configure.py" "$@"
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Apr 12 14:04:24 GMT 2020 - 285 bytes - Viewed (1) -
ci/official/utilities/get_versions.sh
# # These variables aren't available by default. Scripts must source this file # explicitly, *after* checking if update_version.py needs to be run for a # nightly job. update_version.py affects TF_VER_SUFFIX, TF_VER_PYTHON, and # TF_VER_FULL. # Note: in awk, the command '/search/ {commands}' applies the commands to any line that # matches the /search/ regular expression. "print $N" prints the Nth "field",
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 2.3K bytes - Viewed (0) -
scripts/build-docs.sh
#!/usr/bin/env bash set -e set -x # Check README.md is up to date python ./scripts/docs.py verify-docs
Shell Script - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Mon Jan 22 19:26:14 GMT 2024 - 140 bytes - Viewed (0) -
.github/hub_scripts/pr_ci.sh
# This script must be executed from the branch associated with the PR to issue the command on. # PR_NUMBER=$(hub pr show -f '%I')
Shell Script - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Jan 22 15:25:21 GMT 2021 - 1K bytes - Viewed (0) -
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) -
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) -
test_docs.sh
#!/bin/bash # The website is built using MkDocs with the Material theme. # https://squidfunk.github.io/mkdocs-material/ # It requires Python to run. # Install the packages with the following command: # pip install mkdocs mkdocs-material mkdocs-redirects set -ex # Test generating the javadoc jars ./gradlew publishToMavenLocal -DRELEASE_SIGNING_ENABLED=false # Generate the API docs ./gradlew dokkaHtmlMultiModule
Shell Script - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:52:16 GMT 2024 - 718 bytes - Viewed (0) -
ci/official/containers/linux_arm64/setup.sources.sh
# limitations under the License. # ============================================================================== # # setup.python.sh: Install a specific Python version and packages for it. # Usage: setup.python.sh <pyversion> <requirements.txt> # Sets up custom apt sources for our TF images. # Prevent apt install tzinfo from asking our location (assumes UTC)
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 1.7K bytes - Viewed (0)