aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/builtin_op_data.h
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-01-17 08:22:06 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-01-17 08:25:45 -0800
commit81c8a398ddc84f2f3169868a350197ab71dafb23 (patch)
treeb689511dbd14ee5d21ce036859e02f7c84e146f4 /tensorflow/contrib/lite/builtin_op_data.h
parentafbf1e3ab3cd1ba0ebec53483c9d3a05b9c51554 (diff)
export_strategy: Add strip_default_attrs to ExportStrategy and it's export_fn signature.
This allows for a single place (ExportStrategy) where the config for strip_default_attrs is stored. If the export_fn callback accepts the `strip_default_attrs` argument, it can then propagate the `strip_default_attrs` arg to estimator.export_savedmodel(). Also changed the default for `strip_default_attrs` in the ExportStrategy factory methods (saved_model_export_utils.py) to None. This allows clients that process a given ExportStrategy object to determine if a value has been provided for ExportStrategy.strip_default_attrs field (i.e., `is not None`). If no value has been provided, those clients can then use whatever default they wish to use. PiperOrigin-RevId: 182217376
Diffstat (limited to 'tensorflow/contrib/lite/builtin_op_data.h')
0 files changed, 0 insertions, 0 deletions