get_printoptions#
- tensordict.get_printoptions() dict#
Returns the current print options of tensordicts as a dict.
The keys are the options of
set_printoptions. See Printing and display.Examples
>>> from tensordict import get_printoptions >>> get_printoptions()["show_dtype"] True