Replies: 2 comments 1 reply
-
Your description lacks context to unambiguously infer the issue. My guess would be that it's not actually about the tuple, but rather some kind of shape issue (maybe the tensors being used in the function call are 0D or 2D instead of 1D? That would cause the caster to fail.) Try binding a regular function that takes such an array and calling it with the output of Minor: I would recommend make an alias |
Beta Was this translation helpful? Give feedback.
-
Hi @wjakob ! Thank you for your answer. I get a segmentation fault though so I am still doing something wrong. Can you please clarify whether the right procedure is similar to what is implemented in your unit test here, or to what is presented in the docs here ? |
Beta Was this translation helpful? Give feedback.
-
Hello everybody !
I am in a bit of a situation with the setstate method necessary to allow pickling of an object.
I actually get the following error message:
with the following binding:
The binding is defined in a file where i have the following includes for now (amongst other local includes):
The method doc yields this signature, which to me looks correct but obviously something is not suiting the pickling kernel here ...
I have a feeling it is related to my specializing the type of the expected tuple, but I am not sure how to do without that specialization.
Could you please advise ?
Thank you very much in advance !! 🙏
Beta Was this translation helpful? Give feedback.
All reactions