Shortcuts

Struct BufferPolicy

Page Contents

Struct Documentation

struct BufferPolicy

Public Types

using value_type = at::Tensor

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 = false

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