Shortcuts

Union TriviallyCopyablePayload

Union Documentation

union TriviallyCopyablePayload
#include <ivalue.h>

Public Functions

inline TriviallyCopyablePayload()

Public Members

int64_t as_int
double as_double
bool as_bool
c10::intrusive_ptr_target *as_intrusive_ptr
c10::DeviceType type
DeviceIndex index
struct c10::IValue::Payload::TriviallyCopyablePayload::[anonymous] as_device

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