niceml
niceml copied to clipboard
[Feature]: Abstraction of `GenericDataset` and `DfDataset`
✏️ Problem Description
At the moment there is a KerasGenericDataset
and a KerasDfDataset
that implements GenericDataset
or DfDataset
.
This is because there are some customizations for Keras. If we use PyTorch in a future release, there are some PyTorch specific functions within the abstract GenericDataset
or DfDataset
. This should be fixed.PyTorch-specific
💡 Feature Request
Make GenericDataset
and DfDataset
more abstract and move PyTorch-specific functions to a corresponding PyTorch dataset.
I would prefer to move every framework-specific code inside a separate library.
🌍 Context
This makes it easier to make frame-specific changes in the right place.
🔍 Additional Information
No response
👍 Code of Conduct
- [X] I agree to follow this project's Code of Conduct