Home / Class/ ctor Class — pytorch Architecture

ctor Class — pytorch Architecture

Architecture documentation for the ctor class in Descriptors.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/miopen/Descriptors.h lines 68–76

template <typename T, miopenStatus_t (*ctor)(T**), miopenStatus_t (*dtor)(T*)>
// NOLINTNEXTLINE(bugprone-exception-escape)
class TORCH_CUDA_CPP_API Descriptor {
 public:
  // Use desc() to access the underlying descriptor pointer in
  // a read-only fashion.  Most client code should use this.
  // If the descriptor was never initialized, this will return
  // nullptr.
  T* desc() const { return desc_.get(); }

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free