Contents:
Print array/tensor info (name, shape, dtype).
The argument can be one of the following:
a single array/tensor (no name),
a list of variable names from the calling context,
or a list of arrays/tensors (no names),
or a mapping from names to arrays/tensors.
x (Union[str, ndarray, Tensor, Sequence[Union[str, ndarray, Tensor]], Mapping[str, Union[ndarray, Tensor]]]) – what to print
Union
str
ndarray
Tensor
Sequence
Mapping