#include <array_ops.h>
Optional attribute setters for EditDistance.
Public attributes | |
---|---|
normalize_ = true | bool |
Public functions | |
---|---|
Normalize(bool x) | boolean (if true, edit distances are normalized by length of truth). |
bool tensorflow::ops::EditDistance::Attrs::normalize_ = true
Attrs tensorflow::ops::EditDistance::Attrs::Normalize( bool x )
boolean (if true, edit distances are normalized by length of truth).
The output is:
Defaults to true
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/edit-distance/attrs.html