Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/c_api_test.cc

      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)
  2. 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
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  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",
    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)
  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'"),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top