Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Parameters (0.28 sec)

  1. ci/official/wheel_test/README.md

        ```
    
    #### Requirements Updater Script
    This script automates the process of updating TensorFlow requirements for a
    specific Python version.
    
    ##### Parameters
    `path_to_tensorflow_wheel`: The local path to the TensorFlow wheel file.
    Example: `/tmp/tensorflow-2.14.0-cp311-cp311-linux_x86_64.whl`
    
    `python_version`: The target Python version, replacing `.` with `_`.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/unified_api_testutil.h

    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Builds and returns a `TracingContext` using the default tracing impl.
    AbstractContext* BuildFunction(const char* fn_name);
    
    // Creates parameters (placeholders) in the tracing `ctx` using the shape and
    // dtype of `inputs`.
    Status CreateParamsForInputs(AbstractContext* ctx,
                                 absl::Span<AbstractTensorHandle* const> inputs,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

          InsertLocked(key, *value);
        }
      }
    
      /// Clear the cache.
      void Clear() {
        absl::MutexLock lock(&mu_);
        cache_.clear();
        lru_list_.clear();
      }
    
      /// Accessors for cache parameters.
      uint64_t max_age() const { return max_age_; }
      size_t max_entries() const { return max_entries_; }
    
     private:
      struct Entry {
        /// The timestamp (seconds) at which the entry was added to the cache.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  4. ci/official/utilities/setup.sh

      export -p | grep TFCI
    
      # Load those stored pre-existing TFCI_ vars, if any
      if [[ -s "$FROM_ENV" ]]; then
        echo '==TFCI==: NOTE: Loading the following env parameters, which were'
        echo 'already set in the shell environment. If you want to disable this'
        echo 'behavior, create a new shell.'
        cat "$FROM_ENV"
        source "$FROM_ENV"
        rm "$FROM_ENV"
      fi
    fi
    
    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)
  5. tensorflow/c/eager/gradient_checker.h

    #include "tensorflow/c/eager/unified_api_testutil.h"
    
    namespace tensorflow {
    namespace gradients {
    
    /* Returns numerical grad inside `dtheta_approx` given `forward` model and
     * parameter specified by `input_index`.
     *
     * I.e. if y = <output of the forward model> and w = inputs[input_index],
     * this will calculate dy/dw numerically.
     *
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 02:34:32 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

    ln -s "/usr/include/asm-generic" "${TARGET}/usr/include/asm-generic"
    ln -s "/usr/include/aarch64-linux-gnu/asm" "${TARGET}/usr/include/asm"
    
    # Download glibc's shared and development libraries based on the value of the
    # `VERSION` parameter.
    # Note: 'Templatizing' this and the other conditional branches would require
    # defining several variables (version, os, path) making it difficult to maintain
    # and extend for future modifications.
    mkdir -p glibc-src
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Sep 29 00:26:34 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  7. ci/official/requirements_updater/README.md

       While this isn't necessary for running the updater, it is required for
       actually using the new version with Tensorflow.
    
    2) In the `WORKSPACE` file, add the new version to the `python_versions`
       parameter of the `python_register_multi_toolchains` function.
    
    3) In the `BUILD.bazel` file, add a load statement for the new version, e.g.
    
       ```
          load("@python//3.11:defs.bzl",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental.h

    // Represents a (partially-defined) shape.
    typedef struct TF_Shape {
      int num_dims;  // Must be >= -1; -1 represents unknown rank.
      int64_t* dim_sizes;
    } TF_Shape;
    
    // Add a new parameter to a TensorFlow Function.
    TF_AbstractTensor* TF_AddFunctionParameter(TF_ExecutionContext* func,
                                               TF_DataType dtype, TF_Shape shape,
                                               TF_Status* s);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/c/eager/c_api_unified_experimental_internal.h

    class TracingContext : public AbstractContext {
     protected:
      explicit TracingContext(AbstractContextKind kind) : AbstractContext(kind) {}
    
     public:
      // Add a function parameter and return the corresponding tensor.
      virtual Status AddParameter(DataType dtype, const PartialTensorShape& shape,
                                  TracingTensorHandle**) = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
Back to top