-
#include "tensorstore/array.h"
- struct tensorstore::ArrayFormatOptions;
Specifies options for formatting an array.
Data members¶
- std::string summary_ellipses = "..., ";
Separator printed between the first
summary_edge_items
and the lastsummary_edge_items
when printing a summary of a dimension.
- Index summary_threshold = 1000;
If the total number of elements in the array (product of all dimensions) exceeds this threshold, a summary is printed rather than the full representation.
- Index summary_edge_items = 3;
Number of items at the beginning and end of each dimension to include in the summary representation. If the number of elements in a given dimension is <= 2 * summary_edge_items, the full representation of that dimension will be shown.
Methods¶
- static const ArrayFormatOptions& Default();
Returns a reference to a default-constructed instance of ArrayFormatOptions.