aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/platform/tracing.h
diff options
context:
space:
mode:
authorGravatar Mingsheng Hong <hongm@google.com>2018-10-05 10:31:23 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-05 10:35:34 -0700
commitd493a7f2fdbbc29a292741135f4c1598352e876b (patch)
treead894183d0c747c76b4dd53d7a96180515ea6b14 /tensorflow/core/platform/tracing.h
parent8b7c789e7401fe56b4f648a04f675a3cb69119e5 (diff)
When running a native/builtin op via eager C API, automatically fill in default
attr values that are not overridden e.g. transpose_a in the matmul op). This is required for backward compatibility (a binary built via an older version of TF should still run on a newer version of TF, where some ops may have added attrs). For non-eager graph building, the default attr values of graph ops are added by tensorflow::AddDefaultsToNodeDef(). We ran into this issue when running the same S4TF test cases via eager APIs -- some tests failed due to "missing attrs", but are fixed by this patch. PiperOrigin-RevId: 215927271
Diffstat (limited to 'tensorflow/core/platform/tracing.h')
0 files changed, 0 insertions, 0 deletions