aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/examples
diff options
context:
space:
mode:
authorGravatar Akshay Modi <nareshmodi@google.com>2018-05-21 18:53:54 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-05-21 18:56:14 -0700
commite4dcf28ad1c56c3a8e41ca52e7d87169eb7f93d5 (patch)
treef38011097056f44ac15bc7191fb002bb12af2adb /third_party/examples
parent1d5c44cd876377eb296cee22567228ea6f72a7ac (diff)
Improvements to util/nest.py and data/util/nest.py
Changes: - Add a cache for type -> is_sequence to speed up Flatten/IsSequence - Update data/util/nest.py flatten to use C Flatten Before: entry { name: "EagerLinearRegressionBenchmark.eager_train_cpu" iters: 2000 wall_time: 1.91852378845 extras { key: "examples_per_sec" value { double_value: 66717.9634521 } } } After: entry { name: "EagerLinearRegressionBenchmark.eager_train_cpu" iters: 2000 wall_time: 1.74479198456 extras { key: "examples_per_sec" value { double_value: 73361.1806638 } } } PiperOrigin-RevId: 197497854
Diffstat (limited to 'third_party/examples')
0 files changed, 0 insertions, 0 deletions