TensorPrinter<T> constructor
const
TensorPrinter<T> ({
- Printer<
T> ? valuePrinter, - Printer<
String> paddingPrinter = const StandardPrinter<String>(), - Printer<
String> ellipsesPrinter = const StandardPrinter<String>(), - bool limit = true,
- int leadingItems = 3,
- int trailingItems = 3,
- String empty = '\u2205',
- String openTensor = '[',
- String closeTensor = ']',
- String horizontalSeparator = ', ',
- String verticalSeparator = ',\n',
- String horizontalEllipses = '\u2026',
- String verticalEllipses = '\u22ee',
Implementation
const TensorPrinter({
this.valuePrinter,
this.paddingPrinter = const StandardPrinter<String>(),
this.ellipsesPrinter = const StandardPrinter<String>(),
this.limit = true,
this.leadingItems = 3,
this.trailingItems = 3,
this.empty = '\u2205',
this.openTensor = '[',
this.closeTensor = ']',
this.horizontalSeparator = ', ',
this.verticalSeparator = ',\n',
this.horizontalEllipses = '\u2026',
this.verticalEllipses = '\u22ee',
});