Tensor

object Tensor
class Object
trait Matchable
class Any
Tensor.type

Value members

Concrete methods

def apply[T <: Supported : ClassTag, Tt <: TensorTypeDenotation, TD <: TensorShapeDenotation](element: T, tt: Tt, td: TD): (T, (Tt, TD, 1 #: SNil))
def apply[T <: Supported, Tt <: TensorTypeDenotation, TD <: TensorShapeDenotation, S <: Shape](arr: Array[T], tt0: Tt, td0: TD, d0: S): (T, (Tt, TD, S))
def apply[T <: Supported : ClassTag](element: T): (T, ("", TSNil, 1 #: SNil))
def apply[T <: Supported, TD <: TensorShapeDenotation, S <: Shape](arr: Array[T], td0: TD, d0: S): (T, ("", TD, S))
def apply[T <: Supported, S <: Shape](arr: Array[T], d0: S): (T, ("", "" ##: TSNil, S))
def tensorRequires[T <: Supported, Tt <: TensorTypeDenotation, Td <: TensorShapeDenotation, S <: Shape](tens: (T, (Tt, Td, S))): (T, (Tt, Td, S))

Extensions

Extensions

extension [T <: Supported, Tt <: TensorTypeDenotation, Td <: TensorShapeDenotation, S <: Shape](tens: (T, (Tt, Td, S)))
def data: Array[T]
extension [T <: Supported, Tt <: TensorTypeDenotation, Td <: TensorShapeDenotation, S <: Shape](tens: (T, (Tt, Td, S)))
def shape: Array[Int]