Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for given (0.14 sec)

  1. tensorflow/c/eager/unified_api_testutil.h

                    absl::Span<AbstractTensorHandle*> outputs, bool use_function);
    
    Status BuildImmediateExecutionContext(bool use_tfrt, AbstractContext** ctx);
    
    // Return a tensor handle with given type, values and dimensions.
    template <class T, TF_DataType datatype>
    Status TestTensorHandleWithDims(AbstractContext* ctx, const T* data,
                                    const int64_t* dims, int num_dims,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/math_grad.cc

          }
        }
      }
    
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        /* Given upstream grad U and a matmul op A*B, the gradients are:
         *
         *    dA = U * B.T
         *    dB = A.T * U
         *
         *    where A.T means `transpose(A)`
         */
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  3. ci/official/requirements_updater/README.md

    dependencies are always used. \
    See https://github.com/bazelbuild/rules_python/ for more details.
    
    ### Specifying the Python version
    
    Note: Only a number of minor Python versions are supported at any given time.
    
    By default, the lowest supported version is used.
    
    To set a different version, use the `TF_PYTHON_VERSION` environment variable,
    e.g.
    
    ```
    export TF_PYTHON_VERSION=3.11
    ```
    
    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 (1)
  4. tensorflow/c/experimental/gradients/nn_grad.cc

      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        /* Given upstream grad U and a BiasAdd: A + bias, the gradients are:
         *
         *    dA = U
         *    dbias = reduceSum(U, dims = channel_dim)
         */
    
        AbstractTensorHandle* upstream_grad = grad_outputs[0];
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental.cc

    void TF_SetTracingImplementation(const char* name, TF_Status* s) {
      tsl::Set_TF_Status_from_Status(s, SetDefaultTracingEngine(name));
    }
    
    // Creates a new TensorFlow function, it is an execution context attached to a
    // given tracing context.
    TF_ExecutionContext* TF_CreateFunction(const char* fn_name, TF_Status* s) {
      return wrap(CreateTracingExecutionContext(fn_name, s));
    }
    
    TF_AbstractFunction* TF_FinalizeFunction(TF_ExecutionContext* ctx,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental.h

    // Given a Tensor, wrap it with a TensorHandle
    //
    // Similar to TFE_NewTensorHandle, but includes a pointer to the TFE_Context.
    // The context should be identical to that of the Tensor.
    TF_CAPI_EXPORT TFE_TensorHandle* TFE_NewTensorHandleFromTensor(
        TFE_Context* ctx, TF_Tensor* t, TF_Status* status);
    
    // Create a packed TensorHandle with the given list of TensorHandles.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    build --copt="-mtune=generic" --copt="-march=armv8-a" --copt="-O3"
    
    # Test-related settings below this point.
    test --build_tests_only --keep_going --test_output=errors --verbose_failures=true
    test --test_timeout=500,900,-1,-1
    # Give only the list of failed tests at the end of the log
    test --test_summary=short
    
    # "nonpip" tests are regular py_test tests.
    # Pass --config=nonpip to run the same suite of tests. If you want to run just
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  8. tensorflow/c/eager/gradient_checker.cc

    // ================== Helper functions =================
    
    // Fills data with values [start,end) with given step size.
    void Range(vector<int32_t>* data, int32_t start, int32_t end,
               int32_t step = 1) {
      for (int32_t i = start; i < end; i += step) {
        (*data)[i] = i;
      }
    }
    
    // Fills out_dims with the dimensions of the given tensor.
    void GetDims(const TF_Tensor* t, int64_t* out_dims) {
      int num_dims = TF_NumDims(t);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. ci/official/utilities/code_check_full.bats

    # targets.
    license_query() {
     bazel cquery --experimental_cc_shared_library "$1" --keep_going \
      | grep -e "^//" -e "^@" \
      | grep -E -v "^//tensorflow" \
      | sed -e 's|:.*||' \
      | sort -u
    }
    
    # Verify that, given a build target and a license-list generator target, all of
    # the dependencies of that target which include a license notice file are then
    # included when generating that license. Necessary because the license targets
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  10. configure.py

                           no_reply=None,
                           bazel_config_name=None):
      """Set boolean action_env variable.
    
      Ask user if query_item will be enabled. Default is used if no input is given.
      Set environment variable and write to .bazelrc.
    
      Args:
        environ_cp: copy of the os.environ.
        var_name: string for name of environment variable, e.g. "TF_NEED_CUDA".
    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