|
Uni20
Asynchronous tensor and runtime library.
|
Compact read-only tensors whose values are generated from their indices. More...
#include <uni20/common/trace.hpp>#include <uni20/core/compiler_attributes.hpp>#include <uni20/core/scalar_concepts.hpp>#include <uni20/mdspan/generated_accessor.hpp>#include <uni20/mdspan/generated_layout.hpp>#include <uni20/mdspan/mdspan.hpp>#include <uni20/storage/generated_storage.hpp>#include <uni20/tensor/concepts.hpp>#include <uni20/tensor/shape.hpp>#include <array>#include <concepts>#include <cstddef>#include <tuple>#include <type_traits>#include <utility>Go to the source code of this file.
Classes | |
| class | uni20::GeneratedTensor< ElementType, Extents, Generator > |
| Compact read-only tensor evaluated from logical indices. More... | |
Namespaces | |
| namespace | uni20 |
Functions | |
| template<Scalar ElementType, std::integral... Extents> | |
| auto | uni20::eye (Extents... extents) |
| Return a generated tensor equal to one exactly when all indices agree. | |
| template<Scalar ElementType, std::integral... Extents> | |
| auto | uni20::full (ElementType value, Extents... extents) |
| Return a generated tensor filled with one scalar value. | |
| template<Scalar ElementType, std::integral... Extents> | |
| auto | uni20::ones (Extents... extents) |
| Return a generated tensor filled with scalar ones. | |
| template<Scalar ElementType, std::integral... Extents> | |
| auto | uni20::zeros (Extents... extents) |
| Return a generated tensor filled with scalar zeros. | |
Compact read-only tensors whose values are generated from their indices.