You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use .sizes instead of .dims for xr.Dataset/xr.DataArray compatibility (#71)
* Use .sizes instead of .dims for xr.Dataset/xr.DataArray compatibility
Removes need for using `_as_xarray_dataset` so xr.DataArray inputs are preserved as xr.DataArray objects on the returned output.
* Remove unused _as_xarray_dataset function
* Fix conversion to torch named tensors by changing frozen dict to tuple
* Fix KeyError for Pytorch tests
* Fix AttributeError on keras.py
* Mention that unit tests are only for DataArray and not Dataset
* Remove concat_dim from CustomTFDataset to support xr.DataArray only
* Test torch.Tensor shapes to be more precise than just then batch size
Co-authored-by: Max Jones <meghanj@alum.mit.edu>
0 commit comments