CSRSparseMatrixToSparseTensor

CSRSparseMatrixToSparseTensor kelas akhir publik

Mengonversi CSRSparesMatrix (mungkin dalam batch) menjadi SparseTensor.

Konstanta

Rangkaian OP_NAME Nama operasi ini dikenal dengan mesin inti TensorFlow

Metode Publik

statis <T memperluas TType > CSRSparseMatrixToSparseTensor <T>
buat ( Lingkup lingkup, Operan <?> sparseMatrix, Tipe Kelas<T>)
Metode pabrik untuk membuat kelas yang membungkus operasi CSRSparseMatrixToSparseTensor baru.
Keluaran < TInt64 >
bentuk padat ()
Bentuk padat SparseTensor.
Keluaran < TInt64 >
indeks ()
Indeks SparseTensor.
Keluaran <T>
nilai ()
Nilai SparseTensor.

Metode Warisan

Konstanta

String akhir statis publik OP_NAME

Nama operasi ini dikenal dengan mesin inti TensorFlow

Nilai Konstan: "CSRSparseMatrixToSparseTensor"

Metode Publik

public static CSRSparseMatrixToSparseTensor <T> buat ( Lingkup lingkup , Operan <?> sparseMatrix, tipe Kelas<T>)

Metode pabrik untuk membuat kelas yang membungkus operasi CSRSparseMatrixToSparseTensor baru.

Parameter
cakupan ruang lingkup saat ini
sparseMatrix CSRSparseMatrix (mungkin dalam batch).
Kembali
  • contoh baru dari CSRSparseMatrixToSparseTensor

Keluaran publik < TInt64 > solidShape ()

Bentuk padat SparseTensor.

Indeks Output publik < TInt64 > ()

Indeks SparseTensor.

Nilai keluaran <T> publik ()

Nilai SparseTensor.