Commit d4ad85b7 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by Gunhan Gulsoy
Browse files

Fix bug in and speed up ConstantFolding::CreateNodeDef():

  * Fix bug trying to store more than kintmax32 values in a repeated proto field.
  * Speed up populating compressed format. Example: tensorflow/python/kernel_tests/large_concat_op_test with size = 2**29+6 goes from ~30 seconds to ~15 seconds. The fraction of time spent in ConstantFolding::CreateNodeDef() goes down from about 35% to about 12%.

PiperOrigin-RevId: 184693749
parent 1eca5782
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment