Create a persistence diagram type #84
Labels
enhancement
New feature or request
top priority
The issue is to be solved as soon as possible, as it may block the usage of the library
Milestone
Issue:
When using persistence diagrams as pytorch tensors one always has to check if they
the input has the right format (2 dimensional, one-hot-encoded homology typ ...) which
is a huge overhead.
Suggestion:
We could use the typing module to define a subtype of tensor which represents
one-hot-encoded persistence diagrams. This would allow to stafely pass around
persistence diagrams without having the overhead of additional assertions everywhere.
Sample code:
The text was updated successfully, but these errors were encountered: