Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AddRegisterer (0.18 sec)

  1. tensorflow/c/experimental/gradients/math_grad.h

    #define TENSORFLOW_C_EXPERIMENTAL_GRADIENTS_MATH_GRAD_H_
    
    #include "tensorflow/c/eager/gradients.h"
    
    namespace tensorflow {
    namespace gradients {
    
    GradientFunction* AddRegisterer(const ForwardOperation& op);
    GradientFunction* ExpRegisterer(const ForwardOperation& op);
    GradientFunction* MatMulRegisterer(const ForwardOperation& op);
    GradientFunction* SqrtRegisterer(const ForwardOperation& op);
    C
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Dec 03 22:28:48 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradients.h

    //   ~AddGradientFunction() override {}
    // };
    //
    // 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:
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/math_grad_test.cc

        y.reset(y_raw);
      }
    
      // TODO(srbs): Rename ops::Add to ops::AddV2 and AddRegister to
      // AddV2Registerer.
      status_ = registry_.Register("AddV2", AddRegisterer);
      ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    
      ASSERT_NO_FATAL_FAILURE(CompareNumericalAndAutodiffGradients(
          AddModel, BuildGradModel(AddModel, registry_),
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/math_grad.cc

      // TODO(b/174778737): Only hold needed inputs and outputs.
      vector<AbstractTensorHandle*> forward_inputs_;
      vector<AbstractTensorHandle*> forward_outputs_;
    };
    
    }  // namespace
    
    GradientFunction* AddRegisterer(const ForwardOperation& op) {
      return new AddGradientFunction;
    }
    
    GradientFunction* ExpRegisterer(const ForwardOperation& op) {
      return new ExpGradientFunction(op.outputs[0]);
    }
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top