Packages

final case class SparseTensor[T](indices: Tensor[Long], values: Tensor[T], denseShape: Tensor[Long]) extends TensorLike[T] with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparseTensor
  2. Serializable
  3. Product
  4. Equals
  5. TensorLike
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SparseTensor(indices: Tensor[Long], values: Tensor[T], denseShape: Tensor[Long])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asUntyped: SparseTensor[Any]
    Definition Classes
    SparseTensorTensorLike
  6. def bitcastTo[R](dataType: core.types.DataType[R])(implicit ev: core.types.IsNumeric[T]): SparseTensor[R]
  7. def bitcastTo[R](implicit arg0: core.types.TF[R], ev: core.types.IsNumeric[T]): SparseTensor[R]
  8. def castTo[R](dataType: core.types.DataType[R], truncate: Boolean): SparseTensor[R]
  9. def castTo[R](truncate: Boolean)(implicit arg0: core.types.TF[R]): SparseTensor[R]
  10. def castTo[R](dataType: core.types.DataType[R]): SparseTensor[R]
  11. def castTo[R](implicit arg0: core.types.TF[R]): SparseTensor[R]
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  13. val dataType: core.types.DataType[T]
    Definition Classes
    SparseTensorTensorLike
  14. val denseShape: Tensor[Long]
  15. val device: String
    Definition Classes
    SparseTensorTensorLike
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. implicit val evTTF: core.types.TF[T]
    Attributes
    protected
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. val indices: Tensor[Long]
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. val shape: core.Shape
    Definition Classes
    SparseTensorTensorLike
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toBoolean: SparseTensor[Boolean]
  28. def toByte: SparseTensor[Byte]
  29. def toComplexDouble: SparseTensor[core.types.ComplexDouble]
  30. def toComplexFloat: SparseTensor[core.types.ComplexFloat]
  31. def toDouble: SparseTensor[Double]
  32. def toFloat: SparseTensor[Float]
  33. def toHalf: SparseTensor[core.types.Half]
  34. def toInt: SparseTensor[Int]
  35. def toLong: SparseTensor[Long]
  36. def toQByte: SparseTensor[core.types.QByte]
  37. def toQInt: SparseTensor[core.types.QInt]
  38. def toQShort: SparseTensor[core.types.QShort]
  39. def toQUByte: SparseTensor[core.types.QUByte]
  40. def toQUShort: SparseTensor[core.types.QUShort]
  41. def toResource: SparseTensor[core.types.Resource]
  42. def toShort: SparseTensor[Short]
  43. def toString(): String
    Definition Classes
    SparseTensor → AnyRef → Any
  44. def toStringTensor: SparseTensor[String]
  45. def toTensor(defaultValue: Tensor[T] = null, validateIndices: Boolean = true): Tensor[T]
  46. def toTensor: Tensor[T]
    Definition Classes
    SparseTensorTensorLike
  47. def toTensorIndexedSlices: TensorIndexedSlices[T]
    Definition Classes
    SparseTensorTensorLike
    Annotations
    @throws(scala.this.throws.<init>$default$1[UnsupportedOperationException])
  48. def toTruncatedHalf: SparseTensor[core.types.TruncatedHalf]
  49. def toUByte: SparseTensor[core.types.UByte]
  50. def toUInt: SparseTensor[core.types.UInt]
  51. def toULong: SparseTensor[core.types.ULong]
  52. def toUShort: SparseTensor[core.types.UShort]
  53. def toVariant: SparseTensor[core.types.Variant]
  54. val values: Tensor[T]
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TensorLike[T]

Inherited from AnyRef

Inherited from Any

Ungrouped