Template Struct AnyValue::Holder¶
Defined in File any_value.h
Nested Relationships¶
This struct is a nested type of Class AnyValue.
Struct Documentation¶
-
template<typename T>
struct Holder : public torch::nn::AnyValue::Placeholder¶ Public Functions
-
template<typename U>
inline explicit Holder(U &&value_) noexcept¶ A template because T&& would not be universal reference here.
-
inline std::unique_ptr<Placeholder> clone() const override¶
-
template<typename U>