Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parent_ctx_ (0.2 sec)

  1. tensorflow/c/experimental/gradients/tape/tape_context.cc

        : AbstractContext(kTape), parent_ctx_(c), tape_(tape), registry_(registry) {
      // TODO(srbs): Make AbstractContext ref counted.
      // parent_ctx_->Ref();
    }
    void TapeContext::Release() {
      // TODO(srbs): Change to Unref()
      delete this;
    }
    TapeContext::~TapeContext() {
      // TODO(srbs): Make AbstractContext ref counted.
      // parent_ctx_->Unref();
    }
    TapeOperation* TapeContext::CreateOperation() {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/tape/tape_context.h

      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
        return ptr->getKind() == kTape;
      }
      ~TapeContext() override;
    
     private:
      AbstractContext* parent_ctx_;  // Not owned.
      Tape* tape_;
      const GradientRegistry& registry_;
    };
    }  // namespace gradients
    }  // namespace tensorflow
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 1.6K bytes
    - Viewed (0)
Back to top