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