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

TensorView whose writable mdspec supports eventual element assignment. More...

#include <concepts.hpp>

Concept definition

template<class T>
concept uni20::MutableTensorView = TensorView<T> && requires(std::remove_reference_t<T>& tensor) { mdspec_of(tensor); } &&
MdspecLike types whose eventual storage supports writes.
Definition mdspan/concepts.hpp:398
TensorView whose writable mdspec supports eventual element assignment.
Definition tensor/concepts.hpp:133
Tensor-level object exposing readable multidimensional metadata and a backend selector.
Definition tensor/concepts.hpp:82
constexpr decltype(auto) mdspec_of(Tensor &tensor) noexcept(noexcept(tensor.mdspec()))
Return a tensor's immediate or descriptor-backed multidimensional metadata.
Definition tensor/concepts.hpp:50

Detailed Description

TensorView whose writable mdspec supports eventual element assignment.