Commit 7754ec45 authored by Justin Lebar's avatar Justin Lebar Committed by TensorFlower Gardener
Browse files

[XLA] Move shape_with_output_layout and seed fields into

ExecutionOptions.

This simplifies the execution API by getting rid of two default params.

Also change HloModuleConfig so it stores each of the fields of
ExecutionOptions individually, instead of keeping an instance of the
ExecutionOptions proto.

This is necessary because HloModuleConfig already has a field derived
from shape_with_output_layout -- if we stored the ExecutionOptions proto
in HloModuleConfig, its shape wouldn't necessarily match the shape we
already have.
Change: 146477669
parent 84e1a0bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment