Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Attributes | List of all members
uni20::presentation::mdspan_format_options Struct Reference

Formatting controls for mdspan and tensor display art. More...

#include <presentation_mdspan.hpp>

Collaboration diagram for uni20::presentation::mdspan_format_options:
[legend]

Public Attributes

bool label_slices = true
 
std::optional< mdspan_matrix_axes > matrix_axes = std::nullopt
 
numeric_format_options numeric
 
mdspan_shape_mode shape = mdspan_shape_mode::prefix
 

Detailed Description

Formatting controls for mdspan and tensor display art.

Full tensor rendering is intentionally exhaustive. Preview, clipping, or elision should be added as an explicit non-default mode rather than changing the meaning of format_mdspan.

Member Data Documentation

◆ label_slices

bool uni20::presentation::mdspan_format_options::label_slices = true

◆ matrix_axes

std::optional<mdspan_matrix_axes> uni20::presentation::mdspan_format_options::matrix_axes = std::nullopt

◆ numeric

numeric_format_options uni20::presentation::mdspan_format_options::numeric

◆ shape

mdspan_shape_mode uni20::presentation::mdspan_format_options::shape = mdspan_shape_mode::prefix

The documentation for this struct was generated from the following file: