RaggedCross

public final class RaggedCross

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

Metodi pubblici

static <T, U extends Number> RaggedCross <T, U>
create ( Scope scope, Iterable < Operand <? >> raggedValues, Iterable < Operand <? >> raggedRowSplits, Iterable < Operand <Long>> sparseIndices, Iterable < Operand <? >> sparseValues, Iterable < Operand <Long>> sparseShape, Iterable < Operand <? >> denseInputs, String inputOrder, Boolean hashedOutput, 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 ()
`Row_splits` per il` RaggedTensor` restituito.
Uscita <T>
outputValues ()
I "valori" per il "RaggedTensor" restituito.

Metodi ereditati

Metodi pubblici

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

Metodo Factory per creare una classe che esegue il wrapping di una nuova operazione RaggedCross.

Parametri
scopo ambito attuale
raggedValues Il tensore dei valori per ogni ingresso RaggedTensor.
raggedRowSplits Il tensore row_splits per ogni input RaggedTensor.
sparseIndices Il tensore degli indici per ogni ingresso SparseTensor.
sparseValues Il tensore dei valori per ogni ingresso SparseTensor.
sparseShape Il tensore dense_shape per ogni ingresso SparseTensor.
denseInputs Gli ingressi tf.Tensor.
inputOrder Stringa che specifica il tipo di tensore per ogni input. Il carattere "i`th in questa stringa specifica il tipo di input" i`th, ed è uno dei seguenti: "R" (ragged), "D" (denso) o "S" (sparse). Questo attr 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

output pubblico <U> outputRowSplits ()

`Row_splits` per il` RaggedTensor` restituito.

output pubblico <T> outputValues ()

I "valori" per il "RaggedTensor" restituito.