ParseSequenceExampleV2

classe finale pubblica ParseSequenceExampleV2

Trasforma un vettore di prototipi tf.io.SequenceExample (come stringhe) in tensori tipizzati.

Classi nidificate

classe ParseSequenceExampleV2.Options Attributi facoltativi per ParseSequenceExampleV2

Metodi pubblici

ParseSequenceExampleV2.Options statico
NcontextSparse (NcontextSparse lungo)
ParseSequenceExampleV2.Options statico
NfeatureListDense (NfeatureListDense lungo)
ParseSequenceExampleV2.Options statico
NfeatureListSparse (NfeatureListSparse lungo)
ParseSequenceExampleV2.Options statico
contestoDenseShapes (Elenco< Forma > contestoDenseShapes)
Elenco< Uscita <?>>
Elenco< Uscita <?>>
Elenco< Uscita <?>>
Elenco< Output <Lungo>>
Elenco< Output <Lungo>>
Elenco< Uscita <?>>
static ParseSequenceExampleV2
create ( Ambito ambito , Operando <String> serializzato, Operando <String> debugName, Operando <String> contextSparseKeys, Operando <String> contextDenseKeys, Operando <String> contextRaggedKeys, Operando <String> featureListSparseKeys, Operando <String> featureListDenseKeys, Operando <String > featureListRaggedKeys, Operando <Boolean> featureListDenseMissingAssumedEmpty, Iterable< Operand <?>> contextDenseDefaults, List<Class<?>> contextSparseTypes, List<Class<?>> contextRaggedValueTypes, List<Class<?>> contextRaggedSplitTypes, List<Class<? >> featureListDenseTypes, List<Class<?>> featureListSparseTypes, List<Class<?>> featureListRaggedValueTypes, List<Class<?>> featureListRaggedSplitTypes, Opzioni... opzioni)
Metodo factory per creare una classe che racchiude una nuova operazione ParseSequenceExampleV2.
Elenco< Output <Lungo>>
ParseSequenceExampleV2.Options statico
featureListDenseShapes (Lista< Forma > featureListDenseShapes)
Elenco< Uscita <?>>
Elenco< Uscita <?>>
Elenco< Uscita <?>>
Elenco< Uscita <?>>
Elenco< Output <Lungo>>
Elenco< Output <Lungo>>
Elenco< Uscita <?>>

Metodi ereditati

Metodi pubblici

public static ParseSequenceExampleV2.Options NcontextSparse (Long NcontextSparse)

public static ParseSequenceExampleV2.Options NfeatureListDense (Long NfeatureListDense)

public static ParseSequenceExampleV2.Options NfeatureListSparse (Long NfeatureListSparse)

public static ParseSequenceExampleV2.Options contextDenseShapes (List< Shape > contextDenseShapes)

Parametri
contestoDenseShapes 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].

public List< Output <?>> contextDenseValues ​​()

public List< Output <?>> contextRaggedRowSplits ()

public List< Output <?>> contextRaggedValues ​​()

public List< Output <Long>> contextSparseIndices ()

public List< Output <Long>> contextSparseShapes ()

public List< Output <?>> contextSparseValues ​​()

public static ParseSequenceExampleV2 create ( Scope scope, Operando <String> serializzato, Operando <String> debugName, Operando <String> contextSparseKeys, Operando <String> contextDenseKeys, Operando <String> contextRaggedKeys, Operando <String> featureListSparseKeys, Operando <String> featureListDenseKeys, Operando <String> featureListRaggedKeys, Operando <Boolean> featureListDenseMissingAssumedEmpty, Iterable< Operand <?>> contextDenseDefaults, List<Class<?>> contextSparseTypes, List<Class<?>> contextRaggedValueTypes, List<Class<?>> contextRaggedSplitTypes, List< Class<?>> featureListDenseTypes, List<Class<?>> featureListSparseTypes, List<Class<?>> featureListRaggedValueTypes, List<Class<?>> featureListRaggedSplitTypes, Opzioni... opzioni)

Metodo factory per creare una classe che racchiude una nuova operazione ParseSequenceExampleV2.

Parametri
scopo ambito attuale
serializzato Uno scalare o un vettore contenente prototipi SequenceExample serializzati binari.
debugNome Uno scalare o un vettore contenente i nomi dei prototipi serializzati. Può contenere, ad esempio, il nome (descrittivo) della chiave della tabella per il corrispondente protocollo serializzato. Ciò è puramente utile per scopi di debug e la presenza di valori qui non ha alcun effetto sull'output. Può anche essere un vettore vuoto se non è disponibile alcun nome.
contestoSparseKeys Le chiavi previste nelle funzionalità degli esempi associate ai valori context_sparse.
contestoDenseKeys Le chiavi previste nel contesto di SequenceExamples presentano caratteristiche associate a valori densi.
contestoRaggedKeys Le chiavi previste nelle funzionalità degli esempi sono associate ai valori context_ragged.
featureListSparseKeys Le chiavi previste nelle FeatureList associate a valori sparsi.
featureListDenseKeys Le chiavi previste nelle feature_lists di SequenceExamples sono associate a elenchi di valori densi.
featureListRaggedKeys Le chiavi previste nelle FeatureList associate a valori irregolari.
featureListDenseMissingAssumedEmpty Un vettore corrispondente 1:1 con feature_list_dense_keys, che indica quali funzionalità potrebbero mancare in SequenceExamples. Se manca la FeatureList associata, viene considerata vuota.
contestoDenseDefaults Un elenco di tensori Ncontext_dense (alcuni potrebbero essere vuoti). context_dense_defaults[j] fornisce valori predefiniti quando la mappa di contesto di SequenceExample è priva di context_dense_key[j]. Se viene fornito un tensore vuoto per context_dense_defaults[j], allora è richiesta la funzionalità context_dense_keys[j]. Il tipo di input viene dedotto da context_dense_defaults[j], anche quando è vuoto. Se context_dense_defaults[j] non è vuoto, la sua forma deve corrispondere a context_dense_shapes[j].
contestoSparseTypes 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).
contestoRaggedValueTypes Dtype RaggedTensor.value per le funzionalità di contesto irregolare.
contestoRaggedSplitTypes RaggedTensor.row_split dtypes per le funzionalità di contesto irregolare.
featureListSparseTypes 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).
featureListRaggedValueTypes Dtypes RaggedTensor.value per le funzionalità FeatureList irregolari.
featureListRaggedSplitTypes RaggedTensor.row_split dtypes per le funzionalità FeatureList irregolari.
opzioni trasporta valori di attributi opzionali
ritorna
  • una nuova istanza di ParseSequenceExampleV2

public List< Output <Long>> featureListDenseLengths ()

public static ParseSequenceExampleV2.Options featureListDenseShapes (List< Shape > featureListDenseShapes)

Parametri
featureListDenseShapes 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().

public List< Output <?>> featureListDenseValues ​​()

public List< Output <?>> featureListRaggedInnerSplits ()

public List< Output <?>> featureListRaggedOuterSplits ()

public List< Output <?>> featureListRaggedValues ​​()

public List< Output <Long>> featureListSparseIndices ()

public List< Output <Long>> featureListSparseShapes ()

public List< Output <?>> featureListSparseValues ​​()