Currently Tensor and Graph wrap a native handle, and must be explicitly deleted. This is sub-optimal.
Instead, we could make Tensor and Graph be vanilla script objects, and internally build associated TF objects within Session, either when creating a Session, or when calling session.run.
Currently Tensor and Graph wrap a native handle, and must be explicitly deleted. This is sub-optimal.
Instead, we could make Tensor and Graph be vanilla script objects, and internally build associated TF objects within Session, either when creating a Session, or when calling session.run.