Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for gradients (0.06 seconds)

  1. 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) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
  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
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Click Count (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",
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 24 21:00:18 GMT 2026
    - 53.1K bytes
    - Click Count (0)
  4. tensorflow/c/c_api_function_test.cc

      DefineFunction("MyGrad", &grad_func);
    
      // Make grad_func be a gradient of func1 and func2
      TF_GraphCopyFunction(host_graph_, func1, grad_func, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_GraphCopyFunction(host_graph_, func2, grad_func, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Verify that functions and their gradients are in host graph's GraphDef
      GraphDef gdef;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 63.9K bytes
    - Click Count (1)
Back to Top