- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for GradientFunction (0.17 seconds)
-
tensorflow/c/eager/gradients.h
GradientFunction, TapeTensor> { public: using GradientTape<AbstractTensorHandle, GradientFunction, TapeTensor>::GradientTape; // Returns whether the tape is persistent, i.e., whether the tape will hold // onto its internal state after a call to `ComputeGradient`. using GradientTape<AbstractTensorHandle, GradientFunction, TapeTensor>::IsPersistent;
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) -
tensorflow/c/eager/gradients.cc
tape_tensors.push_back(TapeTensor(t)); } GradientTape::RecordOperation( op_name, tape_tensors, input_ids, input_dtypes, [gradient_function]() -> GradientFunction* { return gradient_function; }, [](GradientFunction* ptr) { if (ptr) { delete ptr; } }); } bool Tape::ShouldRecord( absl::Span<const AbstractTensorHandle* const> tensors) const {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Feb 24 06:18:31 GMT 2026 - 19.6K bytes - Click Count (0)