Shortcuts

Template Struct ExclusivelyOwnedTraits< at::Tensor >

Page Contents

Struct Documentation

template<>
struct ExclusivelyOwnedTraits<at::Tensor>

Public Types

using repr_type = at::Tensor
using pointer_type = at::Tensor*
using const_pointer_type = const at::Tensor*

Public Static Functions

static inline repr_type nullRepr()
template<class ...Args>
static inline repr_type createInPlace(Args&&... args)
static inline repr_type moveToRepr(at::Tensor &&x)
static inline void destroyOwned(at::Tensor &x)
static inline at::Tensor take(at::Tensor &x)
static inline pointer_type getImpl(repr_type &x)
static inline const_pointer_type getImpl(const repr_type &x)

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