How to defind my own datatype to defind the typedata for each task. I want to defind something not regular such as torch.model or sth like deeplake.dataset, ...
@tall-lock-23197 Cuz if i want to using the datatype of another lib which may be very complicate to rewrite. In your solution, I can understand that I have to rewrite then register to DataType engine.
t
tall-lock-23197
10/31/2023, 9:51 AM
If you want add it as a native type, then you need to add a type transformer. It shouldn't be very complex to add. Else, it usually gets automatically pickled.