aboutsummaryrefslogtreecommitdiffhomepage
path: root/SECURITY.md
diff options
context:
space:
mode:
authorGravatar Michael Kuperstein <mkuper@google.com>2018-09-25 10:14:53 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-25 10:18:50 -0700
commitfaee2023f9764de44a804c3208be6f68dac04917 (patch)
treecde9610e0649cf68f0fc39f9f5104b478b550541 /SECURITY.md
parent954d6a0ace9b96cdd54659b99e9378a1138a7266 (diff)
[XLA] Make HloComputation::instruction_count() constant-time.
* Use a FlatMap for instruction_iterators_, and actually remove elements from it (which is cheap for a FlatMap). * Use the size of the map (which is O(1)) rather than the size of the list (which is O(n)) for instruction_count(). PiperOrigin-RevId: 214459259
Diffstat (limited to 'SECURITY.md')
0 files changed, 0 insertions, 0 deletions