tensoreflusso:: ops:: AnalizzaSingleSequenceEsempio:: Attr

#include <parsing_ops.h>

Setter di attributi facoltativi per ParseSingleSequenceExample .

Riepilogo

Attributi pubblici

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.

Attributi pubblici

contesto_forme_dense_

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

contesto_sparse_types_

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

feature_list_dense_shapes_

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

feature_list_dense_types_

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

feature_list_sparse_types_

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

Funzioni pubbliche

ContestoDenseShapes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::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::ParseSingleSequenceExample::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::ParseSingleSequenceExample::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::ParseSingleSequenceExample::Attrs::FeatureListDenseTypes(
  const DataTypeSlice & x
)

Il valore predefinito è [].

FeatureListSparseTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::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 è []