Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
uni20::OwningTensor Concept Reference

Tensor-level object that owns the storage described by its multidimensional view. More...

#include <concepts.hpp>

Concept definition

template<class T>
concept uni20::OwningTensor = TensorView<T> && enable_owning_tensor<std::remove_cvref_t<T>>
Tensor-level object that owns the storage described by its multidimensional view.
Definition tensor/concepts.hpp:116
Tensor-level object exposing readable multidimensional metadata and a backend selector.
Definition tensor/concepts.hpp:82

Detailed Description

Tensor-level object that owns the storage described by its multidimensional view.

Ownership is a property of the cvref-stripped object type. The concept does not imply that a particular expression is mutable or may be consumed; consuming operations impose those requirements separately.