Object/Class

com.stripe.agate.tensor

Tensor

Related Docs: class Tensor | package tensor

Permalink

object Tensor

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Tensor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type F = Tensor[Float32.type]

    Permalink
  2. type U = Tensor[_ <: DataType]

    Permalink
  3. type Unknown = Tensor[_ <: DataType]

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val F: Tensor.type

    Permalink
  5. val One: F

    Permalink
  6. val Zero: F

    Permalink
  7. def apply(dt: DataType)(data: Array[Elem], offset: Int, dims: Dims): Tensor[dt.type]

    Permalink
  8. def apply[H](h: H)(implicit ev: Build[H, Float]): Tensor[Float32.type]

    Permalink
  9. def apply(dt: DataType, dims0: Dims)(storage0: Storage[Elem]): Tensor[dt.type]

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def concatenate(dt: DataType, axis: Long)(tensors: Seq[Tensor[dt.type]]): Try[Tensor[dt.type]]

    Permalink

    equivalent to numpy.concatenate https://docs.scipy.org/doc/numpy/reference/generated/numpy.concatenate.html

  13. def const(dt: DataType)(x: Elem, axes: Axes): Tensor[dt.type]

    Permalink
  14. def convertAxesToTensor(s: Axes): Tensor[Int64.type]

    Permalink

    This is the inverse of convertDataToAxes, represent the axes as a 1-D tensor with type DataType.Int64

  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def identityMatrix(dt: DataType, size: Long): Tensor[dt.type]

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def load(path: Path, dt: DataType, axes: Axes): Resource[IO, Tensor[dt.type]]

    Permalink
  23. def loadBytes(bytes: Array[Byte], dt: DataType, axes: Axes): Try[Tensor[dt.type]]

    Permalink
  24. def loadMappedRowMajorTensor(dt: DataType, path: Path, axes: Axes): Resource[IO, Tensor[dt.type]]

    Permalink
  25. def loadMappedTensor(dt: DataType, path: Path, dims: Dims): Resource[IO, Tensor[dt.type]]

    Permalink
  26. def map2(dt: DataType)(x0: Tensor[dt.type], y0: Tensor[dt.type])(f: (Elem, Elem) ⇒ Elem): Try[Tensor[dt.type]]

    Permalink

    This is a broadcasting map2 following numpy broadcasting rules

  27. def matrix(dt: DataType)(data: Array[Elem], offset: Int, height: Long, width: Long): Tensor[dt.type]

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def of[D <: Aux[E], E, H](dt: D)(h: H)(implicit ev: Build[H, E]): Tensor[dt.type]

    Permalink
  32. def one(axes: Axes): F

    Permalink
  33. def save[D <: DataType](path: Path, tensor: Tensor[D]): IO[Unit]

    Permalink
  34. def scalar(dt: DataType)(x: Elem): Tensor[dt.type]

    Permalink
  35. def stack(dt: DataType, axis: Long)(tensors: Seq[Tensor[dt.type]]): Try[Tensor[dt.type]]

    Permalink
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. def unchunk(dt: DataType, axis: Long)(tensors: Seq[Tensor[dt.type]]): Try[Tensor[dt.type]]

    Permalink

    This is the opposite of chunk, which glues together tensors along a given axis

  39. def vector(dt: DataType)(data: Array[Elem]): Tensor[dt.type]

    Permalink
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def zero(axes: Axes): F

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped