aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/api/golden/v1/tensorflow.linalg.pbtxt
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-10-08 13:46:12 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-08 13:51:07 -0700
commitb052c51374f558c25a29c70918d79205dfec808b (patch)
treefd2eb631b27c5facc6c27a17cfa3c6feb539136d /tensorflow/tools/api/golden/v1/tensorflow.linalg.pbtxt
parent76ab96c8a5b2d77dfc191c94ff54fd5e52c561f2 (diff)
Add tf.BenchmarkConfig that returns a session config appropriate for benchmarking. At the moment, it returns a default config with only Grappler dependency optimizer disabled. Many benchmarks wrap the subgraph they want to time in control_flow_ops.group() to avoid including the overhead of copying the output back to the Python client in the measurement. In the graph, this only adds a control dependency between the subgraph output and the fetch node, which in turn (often) causes the dependency optimizer to turn all nodes in the graph into no-ops.
PiperOrigin-RevId: 216242463
Diffstat (limited to 'tensorflow/tools/api/golden/v1/tensorflow.linalg.pbtxt')
0 files changed, 0 insertions, 0 deletions