Shortcuts

Struct AttributePolicy

Page Contents

Struct Documentation

struct AttributePolicy

Public Types

using value_type = IValue

Public Static Functions

static inline value_type create(const std::vector<detail::SlotCursor> &cursors, IValue v)
static inline bool valid(const ClassTypePtr &typ, size_t i, const IValue &v)

Public Static Attributes

static constexpr bool all_slots = true

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