- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for RegisterGradients (0.35 seconds)
-
tensorflow/c/eager/gradients_test.cc
TF_SetTracingImplementation(std::get<0>(GetParam()), status.get()); absl::Status s = StatusFromTF_Status(status.get()); CHECK_EQ(errors::OK, s.code()) << s.message(); } }; absl::Status RegisterGradients(GradientRegistry* registry) { TF_RETURN_IF_ERROR(RegisterNotDifferentiable(registry, "CheckNumerics")); return absl::OkStatus(); } TEST_P(CppGradients, TestSetAttrString) {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 7K bytes - Click Count (0) -
tensorflow/c/eager/gradients.h
// GradientFunction* AddRegisterer(const ForwardOperation& op) { // // More complex gradient functions can use inputs/attrs etc. from the // // forward `op`. // return new AddGradientFunction; // } // // Status RegisterGradients(GradientRegistry* registry) { // return registry->Register("Add", AddRegisterer); // } class GradientFunction { public: virtual absl::Status Compute( AbstractContext* ctx,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 6.9K bytes - Click Count (0)