TensorDictBase.to_csv#
- TensorDictBase.to_csv(path, *, separator: str | None = None, **kwargs)#
Writes this TensorDict to a CSV file.
Requires pandas to be installed.
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.