Make ExecuteContext const in PjRtExecutable ExecuteOptions.

PiperOrigin-RevId: 328543327
Change-Id: Id71ad84e29dc47cd5819a69dd52aaaa2c3a2fd25
This commit is contained in:
A. Unique TensorFlower 2020-08-26 09:09:43 -07:00 committed by TensorFlower Gardener
parent 43c9523f49
commit fe36fba52b

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.
ExecuteContext* context = nullptr;
const ExecuteContext* context = nullptr;
};
// Represents a compiled computation that can be executed given handles to