Make ExecuteContext unowned in ExecuteOptions.

PiperOrigin-RevId: 328150132
Change-Id: If1468b900e95398106fcca29d0263ebb8869731e
This commit is contained in:
A. Unique TensorFlower 2020-08-24 09:06:17 -07:00 committed by TensorFlower Gardener
parent 484f0e5fd9
commit ee31098e59

View File

@ -695,7 +695,7 @@ struct ExecuteOptions {
int32 launch_id = 0;
// If non-null, an opaque context passed to an execution that may be used to
// supply additional arguments to a derived class of PjRtExecutable.
std::unique_ptr<ExecuteContext> context;
ExecuteContext* context = nullptr;
};
// Represents a compiled computation that can be executed given handles to