Shortcuts

Struct WeakOrStrongTypePtr

Page Contents

Struct Documentation

struct WeakOrStrongTypePtr

Public Functions

inline explicit WeakOrStrongTypePtr(WeakTypePtr weak)
inline explicit WeakOrStrongTypePtr(StrongTypePtr strong)
inline explicit WeakOrStrongTypePtr(WeakOrStrongCompilationUnit cu, TypePtr type)
WeakTypePtr asWeakTypePtr() const
inline bool holds_strong_ref() const
inline bool holds_empty_strong_ref() const

Public Members

WeakOrStrongCompilationUnit cu_
TypePtr type_

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources