tensorflow::ops::AsString::Attrs

#include <string_ops.h>

Définiteurs d'attributs optionnels pour AsString .

Résumé

attributs publics

fill_ = ""
StringPiece
precision_ = -1
int64
scientific_ = false
bool
shortest_ = false
bool
width_ = -1
int64

fonctions publiques

Fill (StringPiece x)
TF_MUST_USE_RESULT Attrs
La valeur à ajouter si la largeur > -1.
Precision (int64 x)
TF_MUST_USE_RESULT Attrs
La précision décimale à utiliser pour les nombres à virgule flottante.
Scientific (bool x)
TF_MUST_USE_RESULT Attrs
Utilisez la notation scientifique pour les nombres à virgule flottante.
Shortest (bool x)
TF_MUST_USE_RESULT Attrs
Utilisez la représentation la plus courte (scientifique ou standard) pour les nombres à virgule flottante.
Width (int64 x)
TF_MUST_USE_RESULT Attrs
Complétez les nombres avant la virgule décimale jusqu'à cette largeur.

attributs publics

remplir_

StringPiece tensorflow::ops::AsString::Attrs::fill_ = ""

précision_

int64 tensorflow::ops::AsString::Attrs::precision_ = -1

scientifique_

bool tensorflow::ops::AsString::Attrs::scientific_ = false

le plus court_

bool tensorflow::ops::AsString::Attrs::shortest_ = false

largeur_

int64 tensorflow::ops::AsString::Attrs::width_ = -1

fonctions publiques

Remplir

TF_MUST_USE_RESULT Attrs tensorflow::ops::AsString::Attrs::Fill(
  StringPiece x
)

La valeur à ajouter si la largeur > -1.

Si le champ est vide, il est complété par des espaces. Une autre valeur courante est « 0 ». La chaîne ne peut pas dépasser un caractère.

Par défaut, ""

Précision

TF_MUST_USE_RESULT Attrs tensorflow::ops::AsString::Attrs::Precision(
  int64 x
)

La précision décimale à utiliser pour les nombres à virgule flottante.

Utilisé uniquement si la précision > -1.

Par défaut, -1

Scientifique

TF_MUST_USE_RESULT Attrs tensorflow::ops::AsString::Attrs::Scientific(
  bool x
)

Utilisez la notation scientifique pour les nombres à virgule flottante.

Par défaut, faux

le plus court

TF_MUST_USE_RESULT Attrs tensorflow::ops::AsString::Attrs::Shortest(
  bool x
)

Utilisez la représentation la plus courte (scientifique ou standard) pour les nombres à virgule flottante.

Par défaut, faux

Largeur

TF_MUST_USE_RESULT Attrs tensorflow::ops::AsString::Attrs::Width(
  int64 x
)

Complétez les nombres avant la virgule décimale jusqu'à cette largeur.

S'applique aux nombres à virgule flottante et aux nombres entiers. Utilisé uniquement si la largeur est supérieure à -1.

Par défaut, -1