0👍
Okay, I should have read the documentation more carefully.
ContextBridge copies the values, so it can only handle some types. To use complex types, like Tensor3D
it is recomended to serialize and deserialize the values respectively.
Everything is said here: Electron contextBridge documentation
Source:stackexchange.com