object Tensor
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Tensor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- class Datatype[T] extends AnyRef
- class DimensionEmptyException extends Exception
- class DimensionSizeInconsistentException extends Exception
- class DimensionSizeMismatchException extends Exception
- class ShapeDataMismatchException extends Exception
- class ShapeMismatchException extends Exception
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add[T](left: Tensor[T], right: Tensor[T])(implicit arg0: Numeric[T], arg1: ClassTag[T]): Tensor[T]
- def apply[T, S <: Data with Num[S]](data: Array[S], shape: Shape)(implicit arg0: Numeric[T], arg1: ClassTag[T]): Tensor[T]
- def apply[T](matrix: Array[Array[T]])(implicit arg0: Numeric[T], arg1: ClassTag[T]): Tensor[T]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def chiselTypeAsLit[S <: Data with Num[S], T](literal: S)(implicit arg0: Numeric[T], arg1: ClassTag[T]): 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(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def fill[T](shape: Shape)(element: T)(implicit arg0: Numeric[T], arg1: ClassTag[T]): Tensor[T]
- def flatten[T](arr: Array[Array[Array[Array[T]]]])(implicit arg0: ClassTag[T]): Array[T]
- def flatten[T](arr: Array[Array[Array[T]]])(implicit arg0: ClassTag[T]): Array[T]
- def fromInputStream[T](datatype: Datatype[T], shape: Shape, stream: InputStream)(implicit arg0: Numeric[T], arg1: ClassTag[T]): Tensor[T]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def goldenConv[T](image: Tensor[T], filter: Tensor[T], paddingElement: T)(implicit arg0: Numeric[T], arg1: ClassTag[T]): Tensor[T]
- def goldenMatMatMul[T](a: Array[Array[T]], b: Array[Array[T]])(implicit arg0: Numeric[T], arg1: ClassTag[T]): Array[Array[T]]
- def goldenMatVecMul[T](mat: Array[Array[T]], vec: Array[T])(implicit arg0: Numeric[T], arg1: ClassTag[T]): Array[T]
- def goldenMaxPool[T](image: Tensor[T], poolH: Int, poolW: Int, stride: Int)(implicit arg0: Numeric[T], arg1: ClassTag[T]): Tensor[T]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def litAsChiselType[S <: Data with Num[S], T](gen: S)(value: T)(implicit arg0: Numeric[T], arg1: ClassTag[T]): S
- def matMul[T](a: Tensor[T], b: Tensor[T])(implicit arg0: Numeric[T], arg1: ClassTag[T]): Tensor[T]
- def mul[T](left: Tensor[T], right: Tensor[T])(implicit arg0: Numeric[T], arg1: ClassTag[T]): Tensor[T]
-
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 ofChiselType[S <: Data with Num[S], T](gen: S, shape: Shape)(implicit arg0: Numeric[T], arg1: ClassTag[T]): Tensor[T]
- def offset(shape: Shape, index: Array[Int]): Int
- def paddingForSame(filterShape: (Int, Int)): Array[(Int, Int)]
- def pointwise[T](op: (T, T) ⇒ T, left: Tensor[T], right: Tensor[T])(implicit arg0: Numeric[T], arg1: ClassTag[T]): Tensor[T]
- def resultTensorForConvolution(imageShape: Shape, filterShape: Shape, padding: Array[(Int, Int)]): Tensor[BigInt]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )
- object Datatype extends Enumeration
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated