Commit ee054e98 authored by Peter Hawkins's avatar Peter Hawkins Committed by TensorFlower Gardener
Browse files

[TF:XLA] Fix more int32/int64 literal bugs.

Make XlaOpKernelContext::ConstantInputReshaped private, and change its users to use other methods, since its use cases can be handled other ways.

Move code to copy a tensor to a literal into common literal_util module and simplify it.

PiperOrigin-RevId: 220502409
parent 6ca494f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment