You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should try to find a more robust way to do that. There are a few alternatives, but ultimately we are limited to what custom ops allow us to return. Some potential alternatives:
use a proper JSON library (in C++)
pack all the info into tensors.
If we're OK to drop the compile/export support for metadata, we could just bind the C++ structs to Python with pybind11.
The text was updated successfully, but these errors were encountered:
To serialize the container/stream metadata to go from C++ to Python, we manually create a JSON string in the C++ code and parse that in Python to get a dict.
We should try to find a more robust way to do that. There are a few alternatives, but ultimately we are limited to what custom ops allow us to return. Some potential alternatives:
The text was updated successfully, but these errors were encountered: