Replies: 1 comment 2 replies
-
| Thanks for reporting. I made some changes and installing from master should fix it, see here. | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I implemented a message passing layer based on
MessagePassing, which returns a tuple with two Tensors frommessage. I then aggregate both of them by overriding theaggregatefunction. All of this works as intended.However, when I use TorchScript with this model I run into some typing problems. I am creating a new
updatefunction with proper type annotations like following to get rid of the typing problems there:After that I get the following error in the generated
propagatefunction:I believe the return type annotations for
propagateare automatically generated to beTensorwhen calling.jittable(). Is there a way to annotate thepropagatereturn type, maybe through thepropagate_typeannotation that is already present?If not or if this is related to something else, is the
MessagePassingmodule intended to support messages made up of multiple tensors or do you have other suggestions to achieve the same thing?Beta Was this translation helpful? Give feedback.
All reactions