Shortcuts

Struct AnyValue::Placeholder

Nested Relationships

This struct is a nested type of Class AnyValue.

Inheritance Relationships

Derived Type

Struct Documentation

struct Placeholder

Subclassed by torch::nn::AnyModulePlaceholder

Public Functions

inline explicit Placeholder(const std::type_info &type_info_) noexcept
Placeholder(const Placeholder&) = default
Placeholder(Placeholder&&) = default
Placeholder &operator=(const Placeholder&) = delete
Placeholder &operator=(Placeholder&&) = delete
virtual ~Placeholder() = default
inline virtual std::unique_ptr<Placeholder> clone() const

Public Members

const std::type_info &type_info

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