Home
last modified time | relevance | path

Searched defs:ExclusivelyOwnedTensorTraits (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/pytorch/c10/util/
H A DExclusivelyOwnedTensorTraits.h12 struct ExclusivelyOwnedTensorTraits { struct
13 using repr_type = TensorType;
14 using pointer_type = TensorType*;
15 using const_pointer_type = const TensorType*;
17 static repr_type nullRepr() { in nullRepr()
22 static repr_type createInPlace(Args&&... args) { in createInPlace()
26 static repr_type moveToRepr(TensorType&& x) { in moveToRepr()
30 static void destroyOwned(TensorType& x) { in destroyOwned()
63 static TensorType take(TensorType& x) { in take()
67 static pointer_type getImpl(repr_type& x) { in getImpl()
[all …]