Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for scope (0.17 sec)

  1. tensorflow/c/c_api.cc

              const tensorflow::Scope& scope,
              const std::vector<tensorflow::Output>& inputs,
              std::vector<tensorflow::Output>* outputs) {
            DCHECK_EQ(scope.graph(), &parent->graph);
            TF_RETURN_IF_ERROR(
                CopyGraph(&params->body_graph->graph, &parent->graph,
                          &parent->refiner, params->body_inputs, inputs,
                          scope.impl()->name(), scope.impl()->control_deps(),
    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)
  2. tensorflow/c/c_api_test.cc

    TEST_F(CApiGradientsTest, GradientsPrefix_TwoGradientsInSameScope) {
      BuildGraphAndAddGradientsWithPrefixes("scope/gradients", "scope/gradients_1");
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    }
    
    TEST_F(CApiGradientsTest, GradientsPrefix_TwoGradientsInDifferentScopes) {
      BuildGraphAndAddGradientsWithPrefixes("scope/gradients", "scope_1/gradients");
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    }
    
    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)
  3. tensorflow/c/experimental/gradients/nn_grad_test.cc

      if (UseFunction()) {
        // TODO(b/168850692): Enable this.
        GTEST_SKIP() << "Can't take gradient of "
                        "SparseSoftmaxCrossEntropyWithLogits in tracing mode.";
      }
    
      // Score
      float X_vals[] = {1.0f, 2.0f, 3.0f, -5.0f, -4.0f, -3.0f, 2.0f, 0.0f, -1.0f};
      int64_t X_dims[] = {3, 3};
      AbstractTensorHandlePtr X;
      {
        AbstractTensorHandle* X_raw;
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  4. RELEASE.md

        assignment to variables. In particular one can write
        `var[1:3].assign([1,11,111])`.
    *   Deprecated `tf.op_scope` and `tf.variable_op_scope` in favor of a unified
        `tf.name_scope` and `tf.variable_scope`. The new argument order of
        `tf.variable_scope` is incompatible with previous versions.
    *   Introducing `core/util/tensor_bundle` module: a module to efficiently
    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)
  5. tensorflow/c/BUILD

                "//tensorflow/c/experimental/filesystem:modular_filesystem",
                "//tensorflow/cc:grad_ops",
                "//tensorflow/cc:gradients",
                "//tensorflow/cc:ops",
                "//tensorflow/cc:scope_internal",
                "//tensorflow/cc:while_loop",
                "//tensorflow/cc/saved_model:loader_lite",
                "//tensorflow/compiler/mlir/tfr:graph_decompose_pass",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  6. tensorflow/BUILD

        roots = [
            "//tensorflow/c:c_api",
            "//tensorflow/c/eager:c_api",
            "//tensorflow/cc:cc_ops",
            "//tensorflow/cc:client_session",
            "//tensorflow/cc:scope",
            "//tensorflow/core:tensorflow",
            "//tensorflow/core/data:standalone",
            # Exports for pywrap_tensorflow_internal. Many of these are transitive
    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)
  7. tensorflow/c/eager/tape.h

    // efficiency of forward-mode autodiff. Instead, language bindings should call
    // DeleteGradient as soon as a Tensor which was `Watch`ed or was an output
    // Tensor passed to Accumulate goes out of scope.
    //
    // Not thread-safe.
    template <typename Gradient, typename BackwardFunction, typename TapeTensor>
    class ForwardAccumulator {
     public:
      // Does not take ownership of `vspace`, which must outlive the
    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)
  8. tensorflow/c/eager/unified_api_testutil.cc

                    absl::Span<AbstractTensorHandle*> outputs, bool use_function) {
      if (use_function) {
        const char* fn_name = "test_fn";
        core::RefCountPtr<AbstractFunction> scoped_func;
        // Returning null tensors from a tf.function is not supported, so we keep
        // track of indices in the model's outputs are nullptr in this set.
        // The FunctionDef only outputs the non-null tensors. We later pad the
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_test_util.cc

      auto* rewrite_options =
          config->mutable_graph_options()->mutable_rewrite_options();
      rewrite_options->set_scoped_allocator_optimization(
          tensorflow::RewriterConfig::ON);
      rewrite_options->mutable_scoped_allocator_opts()->add_enable_op(
          "CollectiveReduce");
    
      if ((tensorflow::IsGoogleCudaEnabled() || tensorflow::IsBuiltWithROCm()) &&
          num_virtual_gpus > 0) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
Back to top