Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Watch (0.42 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/c/c_api_test.cc

        // Compare that the graphs match.
        GraphDef expected_gdef;
        GraphDef gdef;
        EXPECT_TRUE(GetGraphDef(expected_graph_, &expected_gdef));
        EXPECT_TRUE(GetGraphDef(graph_, &gdef));
        TF_EXPECT_GRAPH_EQ(expected_gdef, gdef);
    
        // Compare that the output of the gradients of both graphs match.
        RunGraphsAndCompareOutputs(grad_outputs, expected_grad_outputs);
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  5. 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)
  6. CONTRIBUTING.md

    your changes by running the command:
    
    ```bash
    tensorflow/tools/ci_build/ci_build.sh CPU tensorflow/tools/ci_build/ci_sanity.sh
    ```
    
    This will catch most license, Python coding style and BUILD file issues that
    may exist in your changes.
    
    #### Running unit tests
    
    There are two ways to run TensorFlow unit tests.
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. RELEASE.md

    *   `tf.data`:
        *   Graduated experimental APIs:
            * [`tf.data.Dataset.ragged_batch`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset/#ragged_batch), which batches elements of `tf.data.Dataset`s into `tf.RaggedTensor`s.
            * [`tf.data.Dataset.sparse_batch`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset/#sparse_batch), which batches elements of `tf.data.Dataset`s into `tf.sparse.SparseTensor`s.
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  8. tensorflow/BUILD

    selects.config_setting_group(
        name = "is_cuda_enabled_and_oss",
        match_all = [
            ":is_cuda_enabled",
            ":oss",
        ],
    )
    
    # Config setting that is satisfied when building with --config=cuda for Windows
    selects.config_setting_group(
        name = "is_cuda_enabled_and_windows",
        match_all = [
            ":is_cuda_enabled",
            ":windows",
        ],
    )
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  9. tensorflow/c/eager/c_api_experimental.cc

    #include "tensorflow/c/eager/c_api_experimental.h"
    
    #include <cstdint>
    #include <memory>
    #include <utility>
    #include <vector>
    
    #include "absl/container/flat_hash_map.h"
    #include "absl/strings/match.h"
    #include "absl/time/time.h"
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api_internal.h"
    #include "tensorflow/c/eager/tfe_context_internal.h"
    #include "tensorflow/c/eager/tfe_op_internal.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  10. .github/workflows/update-rbe.yml

              # metadata. gcr.io helpfully includes it in the header of the response
              # as docker-content-digest: sha256:[digest]. Note we use egrep to
              # match exactly sha256:<hash> because curl may include a ^M symbol at
              # the end of the line.
              # See https://cloud.google.com/architecture/using-container-images#exploring_image_manifests_digests_and_tags
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Apr 10 15:40:34 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top