diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-06-27 04:24:23 -0700 |
---|---|---|
committer | Gunhan Gulsoy <gunan@google.com> | 2018-06-28 21:37:43 -0700 |
commit | be0d37d2c0c64594e9149b0065768fa07b8ccdd2 (patch) | |
tree | 33d6a4c14c88c27ceaa2ef5231a0a3462a7e1170 /third_party/clang_toolchain | |
parent | 51c80b60492e8095999d1f1194c8d56e6d222719 (diff) |
Add a fast path for HloInstruction::ReplaceOperandWith
The fast path triggers when the new operand is the same as the old one
and avoids the unneccessary shape checking and map lookups
PiperOrigin-RevId: 202287723
Diffstat (limited to 'third_party/clang_toolchain')
0 files changed, 0 insertions, 0 deletions