Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for AbstractOpAttrs (1.23 seconds)

  1. tensorflow/c/eager/abstract_op_attrs.h

    namespace tensorflow {
    
    // Attributes of an op.
    class AbstractOpAttrs {
     protected:
      enum AbstractOpAttrsKind { kEager, kTfrt };
      explicit AbstractOpAttrs(AbstractOpAttrsKind kind) : kind_(kind) {}
    
     public:
      // Returns which subclass is this instance of.
      AbstractOpAttrsKind getKind() const { return kind_; }
      virtual ~AbstractOpAttrs() = default;
    
      // Returns the AbstractFunction as a FunctionDef.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 2K bytes
    - Click Count (0)
  2. tensorflow/c/eager/immediate_execution_operation.h

      // Set stack trace to be used for potential async error reporting.
      virtual void SetStackTrace(ManagedStackTrace stack_trace) = 0;
    
      virtual const tensorflow::AbstractOpAttrs* GetOpAttrs() const = 0;
      virtual void AddAttrs(const AbstractOpAttrs* op_attrs) = 0;
    
      virtual void SetCancellationManager(
          CancellationManager* cancellation_manager) = 0;
    
      // Returns the stack trace set by `SetStackTrace` if exists.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 3.6K bytes
    - Click Count (0)
Back to Top