Croce Ragged

classe finale pubblica RaggedCross

Genera una croce di funzionalità da un elenco di tensori e la restituisce come RaggedTensor. Vedi `tf.ragged.cross` per maggiori dettagli.

Metodi pubblici

statico <T, U estende Numero> RaggedCross <T, U>
create ( Ambito di applicazione , Iterable< Operando <?>> raggedValues, Iterable< Operando <?>> raggedRowSplits, Iterable< Operando <Long>> sparseIndices, Iterable< Operando <?>> sparseValues, Iterable< Operando <Long>> sparseShape, Iterable< Operando <?>> denseInputs, String inputOrder, Boolean hasshedOutput, Long numBuckets, Long hashKey, Class<T> outValuesType, Class<U> outRowSplitsType)
Metodo factory per creare una classe che racchiude una nuova operazione RaggedCross.
Uscita <U>
outputRowSplits ()
Il file "row_splits" per il "RaggedTensor" restituito.
Uscita <T>
valori di output ()
I "valori" per il "RaggedTensor" restituito.

Metodi ereditati

Metodi pubblici

public static RaggedCross <T, U> create ( Scope scope, Iterable< Operando <?>> raggedValues, Iterable< Operando <?>> raggedRowSplits, Iterable< Operando <Long>> sparseIndices, Iterable< Operando <?>> sparseValues, Iterable < Operando <Long>> sparseShape, Iterable< Operando <?>> denseInputs, String inputOrder, Boolean hasshedOutput, Long numBuckets, Long hashKey, Class<T> outValuesType, Class<U> outRowSplitsType)

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

Parametri
scopo ambito attuale
raggedValues Il tensore dei valori per ciascun input RaggedTensor.
raggedRowSplits Il tensore row_splits per ogni input RaggedTensor.
sparseIndici Il tensore degli indici per ciascun input SparseTensor.
sparseValues Il tensore dei valori per ciascun input SparseTensor.
sparseShape Il tensore dense_shape per ogni input SparseTensor.
densiIngressi Gli ingressi tf.Tensor.
inputOrder Stringa che specifica il tipo di tensore per ciascun input. L'i-esimo carattere in questa stringa specifica il tipo dell'i-esimo input ed è uno tra: 'R' (ragged), 'D' (denso) o 'S' (sparso). Questo attributo viene utilizzato per garantire che i valori incrociati siano combinati nell'ordine degli input dalla chiamata a tf.ragged.cross.
ritorna
  • una nuova istanza di RaggedCross

Uscita pubblica <U> outputRowSplits ()

Il file "row_splits" per il "RaggedTensor" restituito.

Uscita pubblica <T> outputValues ​​()

I "valori" per il "RaggedTensor" restituito.