Struct AttributePolicy¶
Defined in File module.h
Page Contents
Struct Documentation¶
-
struct
torch::jit::detail
::
AttributePolicy
¶ Public Types
-
using
value_type
= IValue¶
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
= true¶
-
using