Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for variables (0.23 sec)

  1. ci/official/requirements_updater/updater_config_repository.bzl

    '''
     Repository rule to set some environment variables.
     Can be set via build parameter "--repo_env=<VARIABLE_NAME>=<value>"
     e.g "--repo_env=REQUIREMENTS_FILE_NAME=requirements.in"
    
     List of variables:
     REQUIREMENTS_FILE_NAME
    '''
    
    def _updater_config_repository_impl(repository_ctx):
        repository_ctx.file("BUILD", "")
        requirements_file_name = repository_ctx.os.environ.get("REQUIREMENTS_FILE_NAME", "requirements.in")
        repository_ctx.file(
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 718 bytes
    - Viewed (0)
  2. ci/official/utilities/get_versions.sh

    # limitations under the License.
    # ==============================================================================
    # Variables containing version strings extracted from the canonical sources:
    # tensorflow/core/public/version.h and tools/pip_package/setup.py.
    #
    # 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
    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)
  3. 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)
  4. tensorflow/c/checkpoint_reader.h

    // other languages.
    //
    // The class currently only interacts with single-slice (i.e., non-partitioned)
    // variables.
    class CheckpointReader {
     public:
      CheckpointReader(const string& filename, TF_Status* status);
    
      bool HasTensor(const string& name) const;
      const string DebugString() const;
    
      // Returns a map from variable names to their shapes.  Slices of a partitioned
      // tensor are combined into a single entry.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. ci/official/bisect.sh

    # ==============================================================================
    # Run any CI script and env configuration to bisect a failing target in some
    # build configuration. You must set the following variables to control this
    # script:
    #
    #   TF_BISECT_GOOD: Last known good commit (e.g. commit from the last passing job)
    #   TF_BISECT_BAD: First bad commit (e.g. commit from the first failing job)
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. ci/official/utilities/setup.sh

    # variables in it, OR may be left empty if the user has already exported the
    # relevant variables in their environment. Because of 'set -o allexport' above
    # (which is equivalent to "set -a"), every variable in the file is exported
    # for other files to use.
    #
    # Separately, if TFCI is set *and* there are also additional TFCI_ variables
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  7. ci/official/envs/ci_default

    # Note: this file gets sourced in utilities/setup.sh, which has "set -u"
    # (error on undefined variables). This ensures that (a) every TFCI variable
    # has an explicit default value, and (b) no script can accidentally use a
    # variable that doesn't exist. Please keep this list in alphabetical order.
    #
    # Find usage in scripts with e.g.:
    #   cd ci/official
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. .github/workflows/sigbuild-docker-branch.yml

            with:
              registry: gcr.io
              username: _json_key
              password: ${{ secrets.GCP_CREDS }}
          -
            name: Generate variables for cache busting and tag naming
            run: |
              echo "DATE=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
              # Converts r2.9 to just 2.9
              echo "REF=$(echo $GITHUB_REF_NAME | sed 's/r//g')" >> "$GITHUB_OUTPUT"
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Oct 23 18:43:43 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_distributed_test.cc

      const char task2_name[] = "/job:localhost/replica:0/task:2/device:CPU:0";
    
      // Create one variable per task.
      TFE_TensorHandle* h0 = TestVariable(ctx, 1.0, task1_name);
      TFE_TensorHandle* h1 = TestVariable(ctx, 2.0, task2_name);
      TFE_TensorHandle* h2 = TestVariable(ctx, 3.0, task0_name);
    
      // Add a sync point to make sure that variables have been initialized
      // before the function execution starts.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

    namespace tensorflow {
    namespace parallel_device {
    
    // A helper for performing common operations on variables. A much more
    // restricted stand-in for tf.Variable in Python.
    class Variable {
     public:
      // Construct a Variable from a resource-dtype TFE_TensorHandle and an
      // indication of the dtype of the variable's value.
      //
      // Note that creating this resource-dtype handle can fail, so `Create` is a
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
Back to top