MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ TensorAccess()

MayaFlux::Kakshya::TensorAccess::TensorAccess ( std::span< const std::byte > storage,
TensorSpec spec,
bool read_only )
inlineprivate

Definition at line 96 of file TensorAccess.hpp.

98 , m_spec(std::move(spec))
100 {
101 }
bool read_only() const noexcept
Whether writers must treat the memory as immutable.
std::span< const std::byte > m_storage
const TensorSpec & spec() const noexcept
Layout of the borrowed memory.
std::span< const std::byte > storage() const noexcept
The whole borrowed region.

References m_read_only, m_spec, m_storage, read_only(), spec(), and storage().

Referenced by as_tensor_access.

Here is the call graph for this function:
Here is the caller graph for this function: