Commit d0e3e524 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Fix std::accumulate init value in xla::Product

The return type for std::accumulate is determined by the type of the
init value what was incorrect resulting in wrong result for large
numbers.

PiperOrigin-RevId: 189019412
parent 979a1d44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment