Open
Description
The object is only valid as long as the TFGraph object exists, when the TFGraph goes away, the TFOperation goes away as well. So we need a way to either track all TFOperations in a TFGraph [1] or we need TFOperations to keep a pointer to the TFGraph and check if the obejct is still valid on each call, and if not zero out their handle/flag the object as useless.
[1] This is easy, provided that we never need to re-surface a TFGraph back into managed code from a native pointer, we just keep a list of all the objects created.