Shortcuts

Struct ParameterPolicy

Page Contents

Struct Documentation

struct torch::jit::detail::ParameterPolicy

Public Types

using value_type = at::Tensor

Public Static Functions

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

Public Static Attributes

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