tensorflow::ops::FIFOQueue::Attrs

#include <data_flow_ops.h>

Définiteurs d'attributs optionnels pour FIFOQueue .

Résumé

attributs publics

capacity_ = -1
int64
container_ = ""
StringPiece
shapes_ = {}
gtl::ArraySlice< PartialTensorShape >
shared_name_ = ""
StringPiece

fonctions publiques

Capacity (int64 x)
TF_MUST_USE_RESULT Attrs
The upper bound on the number of elements in this queue.
Container (StringPiece x)
TF_MUST_USE_RESULT Attrs
If non-empty, this queue is placed in the given container.
Shapes (const gtl::ArraySlice< PartialTensorShape > & x)
TF_MUST_USE_RESULT Attrs
La forme de chaque composante d'une valeur.
SharedName (StringPiece x)
TF_MUST_USE_RESULT Attrs
If non-empty, this queue will be shared under the given name across multiple sessions.

attributs publics

capacité_

int64 tensorflow::ops::FIFOQueue::Attrs::capacity_ = -1

récipient_

StringPiece tensorflow::ops::FIFOQueue::Attrs::container_ = ""

formes_

gtl::ArraySlice< PartialTensorShape > tensorflow::ops::FIFOQueue::Attrs::shapes_ = {}

nom_partagé

StringPiece tensorflow::ops::FIFOQueue::Attrs::shared_name_ = ""

fonctions publiques

Capacité

TF_MUST_USE_RESULT Attrs tensorflow::ops::FIFOQueue::Attrs::Capacity(
  int64 x
)

The upper bound on the number of elements in this queue.

Les nombres négatifs signifient qu'il n'y a pas de limite.

Par défaut, -1

Récipient

TF_MUST_USE_RESULT Attrs tensorflow::ops::FIFOQueue::Attrs::Container(
  StringPiece x
)

If non-empty, this queue is placed in the given container.

Sinon, un conteneur par défaut est utilisé.

Par défaut, ""

Formes

TF_MUST_USE_RESULT Attrs tensorflow::ops::FIFOQueue::Attrs::Shapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

La forme de chaque composante d'une valeur.

La longueur de cet attribut doit être égale à 0 ou à celle de component_types. Si sa longueur est nulle, la forme des éléments de la file d'attente n'est pas contrainte et un seul élément peut être retiré à la fois.

Valeur par défaut : []

Nom partagé

TF_MUST_USE_RESULT Attrs tensorflow::ops::FIFOQueue::Attrs::SharedName(
  StringPiece x
)

If non-empty, this queue will be shared under the given name across multiple sessions.

Par défaut, ""