Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for watch (0.3 sec)

  1. ci/official/utilities/setup.sh

    # simple" is MUCH more important than "don't repeat yourself."
    
    # -e: abort script if one command fails
    # -u: error if undefined variable used
    # -x: log all commands
    # -o pipefail: entire command fails if pipe fails. watch out for yes | ...
    # -o history: record shell history
    # -o allexport: export all functions and variables to be available to subscripts
    #               (affects 'source $TFCI')
    set -euxo pipefail -o history -o allexport
    
    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)
  2. tensorflow/c/eager/gradients_test.cc

    Status RecordOperationWithNullGradientFunctionModel(
        AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs,
        absl::Span<AbstractTensorHandle*> outputs) {
      Tape tape(/*persistent=*/false);
      tape.Watch(inputs[0]);
      AbstractTensorHandle* neg_output;
      TF_RETURN_IF_ERROR(ops::Neg(ctx, inputs[0], &neg_output, "Neg"));
      tape.RecordOperation(inputs, {neg_output}, nullptr, "Neg");
      return tape.ComputeGradient(ctx,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/custom_gradient_test.cc

                                  absl::Span<AbstractTensorHandle* const> inputs,
                                  absl::Span<AbstractTensorHandle*> outputs) {
      Tape tape(/*persistent=*/false);
      tape.Watch(inputs[0]);  // Watch x.
      AbstractTensorHandle* exp_output;
      TF_RETURN_IF_ERROR(ops::Exp(ctx, inputs[0], &exp_output, "Exp"));
      std::unique_ptr<GradientFunction> gradient_function(
          new PassThroughGradientFunction);
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    Michael Hudgins <******@****.***> 1695048765 +0000
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

          bool use_batch)
          : vspace_(vspace), use_batch_(use_batch) {
        call_state_.emplace(nullptr, false);
      }
    
      virtual ~ForwardAccumulator() {
        for (auto accumulated : accumulated_gradients_) {
          vspace_.DeleteGradient(accumulated.second);
        }
      }
    
      // Tell the forward accumulator to watch tensor_id, with a Tensor tangent
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  6. ci/official/containers/linux_arm64/Dockerfile

    # manylinux2014-compatible packages.
    COPY builder.devtoolset/fixlinks_aarch64.sh /fixlinks.sh
    COPY builder.devtoolset/rpm-patch.sh /rpm-patch.sh
    COPY builder.devtoolset/build_devtoolset.sh /build_devtoolset.sh
    COPY builder.devtoolset/gcc9-fixups.patch /gcc9-fixups.patch
    COPY builder.devtoolset/stringop_trunc.patch /stringop_trunc.patch
    
    RUN /build_devtoolset.sh devtoolset-10 /dt10
    
    # Build later version of patchelf that is not so buggy
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jan 08 09:32:19 GMT 2024
    - 4.1K bytes
    - Viewed (1)
  7. tensorflow/c/c_api.cc

    #include <algorithm>
    #include <cstring>
    #include <limits>
    #include <memory>
    #include <optional>
    #include <unordered_set>
    #include <utility>
    #include <vector>
    
    #include "absl/strings/match.h"
    // Required for IS_MOBILE_PLATFORM
    #include "tensorflow/core/platform/platform.h"  // NOLINT
    
    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    #include "tensorflow/c/experimental/filesystem/modular_filesystem.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  8. ci/official/wheel_test/update_requirements.sh

    # if there is a change in requirements.in then all lock files will be updated
    # accordingly.
    
    # -e: abort script if one command fails
    # -u: error if undefined variable used
    # -o pipefail: entire command fails if pipe fails. watch out for yes | ...
    # -o history: record shell history
    set -euo pipefail -o history
    
    # Check for required arguments
    if [ -z "$1" ]; then
      echo "Usage: $0 <path_to_tensorflow_wheel> <python_version>"
      exit 1
    fi
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/gradients/grad_test_helper.cc

                 absl::Span<AbstractTensorHandle* const> inputs,
                 absl::Span<AbstractTensorHandle*> outputs) -> Status {
        Tape tape(/*persistent=*/false);
        for (size_t i{}; i < inputs.size(); ++i) {
          tape.Watch(inputs[i]);
        }
        std::vector<AbstractTensorHandle*> temp_outputs(1);
        AbstractContextPtr tape_ctx(new TapeContext(ctx, &tape, grad_registry));
        TF_RETURN_IF_ERROR(
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/gradients.h

      // Adds this tensor to the list of watched tensors.
      //
      // This is a no-op if the tensor is already being watched either from an
      // earlier call to `GradientTape::Watch` or being an output of an op with
      // watched inputs.
      void Watch(const AbstractTensorHandle*);
      // Records an operation with given inputs and outputs
      // on the tape and marks all its outputs as watched if at
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
Back to top