class Tensor[T] extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Tensor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Type Members
- class Permutation extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def *(other: Tensor[T]): Tensor[T]
- def +(other: Tensor[T]): Tensor[T]
- def :*(other: Tensor[T]): Tensor[T]
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def address(index: Index, base: Int = 0, pageSize: Int = 1): Array[Int]
- def apply(index: Index): Tensor[T]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def broadcast(axis: Int, times: Int): Tensor[T]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- Tensor → AnyRef → Any
- def equalsP(t: Tensor[T], tolerance: T): Boolean
- def get(index: Array[Int]): T
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- Tensor → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[S](fn: (T) ⇒ S)(implicit arg0: Numeric[S], arg1: ClassTag[S]): Tensor[S]
- def max: T
- def mustNotBeEmpty(): Unit
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def pad(element: T, dimension: Array[(Int, Int)]): Tensor[T]
- def reshape(shp: Shape): Tensor[T]
- def set[S <: Data with Num[S]](index: Array[Int], value: S): Unit
- def set(index: Array[Int], value: T): Unit
- val shape: Shape
- def squash(): Tensor[T]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def to2D(): Array[Array[T]]
- def to3D(): Array[Array[Array[T]]]
- def to4D(): Array[Array[Array[Array[T]]]]
-
def
toString(): String
- Definition Classes
- Tensor → AnyRef → Any
- def transpose(axes: Array[Int]): Tensor[T]
- def transpose(): Tensor[T]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated