Closed borisrakovan closed 2 years ago
Hi, thanks for the feature request.
I added support for edge_attr
in the latest version of PyNeuraLogic (neuralogic==0.1.1
).
Here, you can check basic usage (and how features are encoded) in torch, NumPy, and native python tests.
Is your feature request related to a problem? Please describe.
The
to_logic_form()
method defined here doesn't seem to consider the 'edge_attr' attribute.Describe the solution you'd like
Should't it initialize the edge predicate weights with the values passed to edge_attr? Something in the lines of
Describe alternatives you've considered
No response
Additional context
No response