TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tensorflow::ops::EditDistance::Attrs

#include <array_ops.h>

Optional attribute setters for EditDistance.

Summary

Public attributes

normalize_ = true
bool

Public functions

Normalize(bool x)
TF_MUST_USE_RESULT Attrs
boolean (if true, edit distances are normalized by length of truth).

Public attributes

normalize_

bool tensorflow::ops::EditDistance::Attrs::normalize_ = true

Public functions

Normalize

TF_MUST_USE_RESULT 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