print
Source code: tianshou/utils/print.py
-
class DataclassPPrintMixin[source]
-
pprint_asdict(exclude_fields: Sequence[str] | None = None) → None[source]
Pretty-print the object as a dict, excluding specified fields.
- Parameters:
exclude_fields – A sequence of field names to exclude from the output.
If None, no fields are excluded.