tensoreflusso:: ops:: ParseSequenceEsempio:: Attr

#include <parsing_ops.h>

Setter di attributi facoltativi per ParseSequenceExample .

Riepilogo

Attributi pubblici

Ncontext_dense_ = 0
int64
Ncontext_sparse_ = 0
int64
Nfeature_list_dense_ = 0
int64
Nfeature_list_sparse_ = 0
int64
context_dense_shapes_ = {}
gtl::ArraySlice< PartialTensorShape >
context_sparse_types_ = {}
DataTypeSlice
feature_list_dense_shapes_ = {}
gtl::ArraySlice< PartialTensorShape >
feature_list_dense_types_ = {}
DataTypeSlice
feature_list_sparse_types_ = {}
DataTypeSlice

Funzioni pubbliche

ContextDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x)
TF_MUST_USE_RESULT Attrs
Un elenco di forme Ncontext_dense; le forme dei dati in ogni contesto Caratteristica data in context_dense_keys.
ContextSparseTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Un elenco di tipi Ncontext_sparse; i tipi di dati in ciascun contesto Caratteristica fornita in context_sparse_keys.
FeatureListDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x)
TF_MUST_USE_RESULT Attrs
Un elenco di forme Nfeature_list_dense; le forme dei dati in ogni FeatureList fornite in feature_list_dense_keys.
FeatureListDenseTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Il valore predefinito è [].
FeatureListSparseTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Un elenco di tipi Nfeature_list_sparse; i tipi di dati in ogni FeatureList forniti in feature_list_sparse_keys.
NcontextDense (int64 x)
TF_MUST_USE_RESULT Attrs
Il valore predefinito è 0.
NcontextSparse (int64 x)
TF_MUST_USE_RESULT Attrs
Il valore predefinito è 0.
NfeatureListDense (int64 x)
TF_MUST_USE_RESULT Attrs
Il valore predefinito è 0.
NfeatureListSparse (int64 x)
TF_MUST_USE_RESULT Attrs
Il valore predefinito è 0.

Attributi pubblici

Ncontesto_denso_

int64 tensorflow::ops::ParseSequenceExample::Attrs::Ncontext_dense_ = 0

Ncontext_sparse_

int64 tensorflow::ops::ParseSequenceExample::Attrs::Ncontext_sparse_ = 0

Nfeature_list_dense_

int64 tensorflow::ops::ParseSequenceExample::Attrs::Nfeature_list_dense_ = 0

Nfeature_list_sparse_

int64 tensorflow::ops::ParseSequenceExample::Attrs::Nfeature_list_sparse_ = 0

contesto_forme_dense_

gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSequenceExample::Attrs::context_dense_shapes_ = {}

contesto_sparse_types_

DataTypeSlice tensorflow::ops::ParseSequenceExample::Attrs::context_sparse_types_ = {}

feature_list_dense_shapes_

gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSequenceExample::Attrs::feature_list_dense_shapes_ = {}

feature_list_dense_types_

DataTypeSlice tensorflow::ops::ParseSequenceExample::Attrs::feature_list_dense_types_ = {}

feature_list_sparse_types_

DataTypeSlice tensorflow::ops::ParseSequenceExample::Attrs::feature_list_sparse_types_ = {}

Funzioni pubbliche

ContestoDenseShapes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::ContextDenseShapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

Un elenco di forme Ncontext_dense; le forme dei dati in ogni contesto Caratteristica data in context_dense_keys.

Il numero di elementi nella Feature corrispondente a context_dense_key[j] deve sempre essere uguale a context_dense_shapes[j].NumEntries(). La forma di context_dense_values[j] corrisponderà a context_dense_shapes[j].

Il valore predefinito è []

ContextSparseTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::ContextSparseTypes(
  const DataTypeSlice & x
)

Un elenco di tipi Ncontext_sparse; i tipi di dati in ciascun contesto Caratteristica fornita in context_sparse_keys.

Attualmente ParseSingleSequenceExample supporta DT_FLOAT (FloatList), DT_INT64 (Int64List) e DT_STRING (BytesList).

Il valore predefinito è []

FeatureListDenseShapes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::FeatureListDenseShapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

Un elenco di forme Nfeature_list_dense; le forme dei dati in ogni FeatureList fornite in feature_list_dense_keys.

La forma di ciascuna caratteristica nella FeatureList corrispondente a feature_list_dense_key[j] deve sempre essere uguale a feature_list_dense_shapes[j].NumEntries().

Il valore predefinito è []

FeatureListDenseTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::FeatureListDenseTypes(
  const DataTypeSlice & x
)

Il valore predefinito è [].

FeatureListSparseTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::FeatureListSparseTypes(
  const DataTypeSlice & x
)

Un elenco di tipi Nfeature_list_sparse; i tipi di dati in ogni FeatureList forniti in feature_list_sparse_keys.

Attualmente ParseSingleSequenceExample supporta DT_FLOAT (FloatList), DT_INT64 (Int64List) e DT_STRING (BytesList).

Il valore predefinito è []

NcontestoDense

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NcontextDense(
  int64 x
)

Il valore predefinito è 0.

NcontestoSparse

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NcontextSparse(
  int64 x
)

Il valore predefinito è 0.

NfeatureListDense

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NfeatureListDense(
  int64 x
)

Il valore predefinito è 0.

NfeatureListSparse

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NfeatureListSparse(
  int64 x
)

Il valore predefinito è 0.