Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for gradients (0.08 sec)

  1. tensorflow/c/c_api.h

    // append an incremental tag to the prefix: "gradients_1/", "gradients_2/", ...
    // See TF_AddGradientsWithPrefix, which provides a means to specify a custom
    // name prefix for operations added to a graph to compute the gradients.
    //
    // WARNING: This function does not yet support all the gradients that python
    // supports. See
    // https://www.tensorflow.org/code/tensorflow/cc/gradients/README.md
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)) << TF_Message(s_);
    }
    
    TEST_F(CApiGradientsTest, GradientsPrefix_2ndGradientsMatchingNodeOf1st) {
      BuildGraphAndAddGradientsWithPrefixes("gradients", "gradients/MatMul");
      ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)) << TF_Message(s_);
    }
    
    TEST_F(CApiGradientsTest, GradientsPrefix_1stGradientsMatchingNodeOf2nd) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. tensorflow/BUILD

            "//tensorflow/c/eager:tfe_context_internal",
            "//tensorflow/c/eager:tfe_op_internal",
            "//tensorflow/c/eager:tfe_tensorhandle_internal",
            "//tensorflow/c/experimental/gradients",
            "//tensorflow/c/experimental/gradients/tape",
            "//tensorflow/c/experimental/next_pluggable_device:c_api",
            "//tensorflow/c/experimental/ops",
            "//tensorflow/c:c_api_experimental",
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 05:28:35 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

      // Cannot change gradient
      TF_GraphCopyFunction(host_graph_, func_, grad_func1, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_GraphCopyFunction(host_graph_, func_, grad_func2, s_);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("Cannot assign gradient function 'MyGrad2' to 'MyFunc' "
                       "because it already has gradient function 'MyGrad1'"),
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
Back to top