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