Rate this Page

Template Struct ExclusivelyOwnedTraits< at::Tensor >#

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)#