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

TensorView whose mdspec is already an mdspan. More...

#include <concepts.hpp>

Concept definition

template<class T>
concept uni20::ImmediateTensorView = TensorView<T> && requires(std::remove_reference_t<T> const& tensor) {
tensor.mdspan();
TensorView whose mdspec is already an mdspan.
Definition tensor/concepts.hpp:100
A readable type implementing the mdspan observers and multidimensional subscript contract.
Definition mdspan/concepts.hpp:291
Tensor-level object exposing readable multidimensional metadata and a backend selector.
Definition tensor/concepts.hpp:82

Detailed Description

TensorView whose mdspec is already an mdspan.

An immediate tensor view exposes mdspan() and requires no descriptor-to-handle resolution. It remains distinct from MdspanLike: the tensor object exposes an mdspan rather than modeling the mdspan contract directly.