|
Tannic
A C++ Tensor Library
|
Memory layout specification for tensor dimensions in the Tannic Tensor Library. More...
#include <array>#include <cstddef>#include <stdexcept>#include <ostream>#include "concepts.hpp"#include "shape.hpp"#include "indexing.hpp"#include "exceptions.hpp"

Go to the source code of this file.
Classes | |
| class | tannic::Strides |
| Represents the memory strides associated with a tensor shape. More... | |
Namespaces | |
| namespace | tannic |
Functions | |
| constexpr bool | tannic::operator== (Strides const &first, Strides const &second) |
| Equality comparison for strides. | |
| std::ostream & | tannic::operator<< (std::ostream &os, Strides const &strides) |
Memory layout specification for tensor dimensions in the Tannic Tensor Library.
Defines tannic::Strides, which determines how elements are spaced in memory across tensor dimensions. Key features:
Shape.All expression-like objects in the library expose an Strides as part of their interface, making this file central to the Tannic design.