Shortcuts

Template Struct slot_iterator_impl

Page Contents

Struct Documentation

template<typename Policy>
struct torch::jit::slot_iterator_impl

Public Types

using SlotCursor = detail::SlotCursor
using value_type = typename Policy::value_type

Public Functions

slot_iterator_impl(Module root, bool recurse, bool return_module)
slot_iterator_impl()
value_type operator*() const
value_type operator->() const
slot_iterator_impl &operator++()
slot_iterator_impl operator++(int)

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