Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for ShouldRecord (0.29 seconds)

  1. tensorflow/c/eager/gradients.h

                           GradientFunction* gradient_function,
                           const string& op_name = "");
      // Returns whether any tensor in a list of tensors is being watched and has
      // a trainable dtype.
      bool ShouldRecord(
          absl::Span<const AbstractTensorHandle* const> tensors) const;
      // Unwatches this tensor on the tape. Mainly used for cleanup when deleting
      // eager tensors.
      void DeleteTrace(const AbstractTensorHandle*);
    
    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)
Back to Top