Shortcuts

Struct WeakIValue

Page Contents

Struct Documentation

struct c10::WeakIValue

Public Functions

WeakIValue()
WeakIValue(const WeakIValue &rhs)
WeakIValue(const IValue &rhs)
WeakIValue(WeakIValue &&rhs) noexcept
~WeakIValue()
WeakIValue &operator=(WeakIValue &&rhs) & noexcept
WeakIValue &operator=(WeakIValue const &rhs) &
void swap(WeakIValue &rhs) noexcept
bool isSameIdentity(const WeakIValue &rhs) const
IValue lock() const
size_t use_count() const noexcept
size_t weak_use_count() const noexcept
size_t hash() const

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