class Tensor5[A] extends argon.lang.Top[Tensor5[A]] with lang.Struct[Tensor5[A]] with Ref[scala.Array[Any], Tensor5[A]]
A 5-dimensional tensor on the host
- Alphabetic
- By Inheritance
- Tensor5
- Struct
- Top
- Ref
- Exp
- ExpType
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
L = Nothing
- Definition Classes
- Ref → Exp → ExpType
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
!==(that: Any): argon.lang.Bit
- Definition Classes
- Top
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++(that: Any): argon.lang.Text
- Definition Classes
- Top
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
===(that: Any): argon.lang.Bit
- Definition Classes
- Top
- val A: Type[A]
-
val
__neverMutable: Boolean
- Definition Classes
- Struct → ExpType
-
val
__typeArgs: Seq[Type[_]]
- Attributes
- protected
- Definition Classes
- Tensor5 → ExpType
-
val
__typeParams: Seq[Type[A]]
- Attributes
- protected
- Definition Classes
- Tensor5 → ExpType
-
val
__typePrefix: String
- Attributes
- protected
- Definition Classes
- Tensor5 → ExpType
-
def
apply(i: lang.I32, j: lang.I32, k: lang.I32, l: lang.I32, m: lang.I32): A
Returns the element in this Tensor5 at the given 5-dimensional addreess.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
box: <:<[Tensor5[A], lang.Struct[Tensor5[A]]]
- Definition Classes
- Tensor5 → Struct
-
final
def
canEqual(that: Any): Boolean
- Definition Classes
- Ref → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def data: Array[A]
-
def
dim0: lang.I32
Returns the first dimension of this Tensor5.
-
def
dim1: lang.I32
Returns the second dimension of this Tensor5.
-
def
dim2: lang.I32
Returns the third dimension of this Tensor5.
-
def
dim3: lang.I32
Returns the fourth dimension of this Tensor5.
-
def
dim4: lang.I32
Returns the fifth dimension of this Tensor5.
-
def
dims: Seq[lang.I32]
Returns the dimensions of this Tensor5.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
eql(that: Tensor5[A]): lang.Bit
- Definition Classes
- Tensor5 → Struct → Top
-
final
def
equals(x: Any): Boolean
- Definition Classes
- Ref → Equals → AnyRef → Any
-
implicit
val
evRef: <:<[spatial.lang.host.Tensor5[A] @scala.annotation.unchecked.uncheckedVariance, Ref[Nothing, spatial.lang.host.Tensor5[A] @scala.annotation.unchecked.uncheckedVariance]]
- Attributes
- protected[argon]
- Definition Classes
- ExpType
-
def
extract: Option[Any]
- Attributes
- protected
- Definition Classes
- Exp
-
def
field[F](name: String)(implicit arg0: Type[F], ctx: SrcCtx, state: State): F
- Definition Classes
- Struct
-
def
fieldMap: Seq[(String, Exp[_, _])]
- Definition Classes
- Struct
-
def
fields: Seq[(String, ExpType[Any, _ >: argon.lang.Fix[argon.lang.types.TRUE, argon.lang.types._32, argon.lang.types._0] with Array[A] <: argon.lang.Top[_ >: argon.lang.Fix[argon.lang.types.TRUE, argon.lang.types._32, argon.lang.types._0] with Array[A] <: argon.lang.Top[_ >: argon.lang.Fix[argon.lang.types.TRUE, argon.lang.types._32, argon.lang.types._0] with Array[A] <: Equals]]])]
- Definition Classes
- Tensor5 → Struct
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatten: Array[A]
Returns a flattened, immutable @Array view of this Tensor5's data.
-
def
foreach(func: (A) ⇒ lang.Void): lang.Void
Applies the function
func
on each element in this Tensor5. -
def
fresh: Tensor5[A]
- Attributes
- protected
- Definition Classes
- Tensor5 → ExpType
-
final
def
from(c: Any, warnOnLoss: Boolean, errorOnLoss: Boolean, isParam: Boolean, saturating: Boolean, unbiased: Boolean): spatial.lang.host.Tensor5[A] @scala.annotation.unchecked.uncheckedVariance
- Definition Classes
- ExpType
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFrom(c: Any, isParam: Boolean, saturating: Boolean, unbiased: Boolean): Option[(spatial.lang.host.Tensor5[A] @scala.annotation.unchecked.uncheckedVariance, Boolean)]
- Definition Classes
- ExpType
-
final
def
hashCode(): Int
- Definition Classes
- Ref → AnyRef → Any
-
def
infix_!=(that: Any): argon.lang.Bit
- Definition Classes
- Top
-
def
infix_==(that: Any): argon.lang.Bit
- Definition Classes
- Top
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
length: lang.I32
Returns the number of elements in the Tensor5.
-
def
map[B](func: (A) ⇒ B)(implicit arg0: Type[B]): Tensor5[B]
Returns a new Tensor5 created using the mapping
func
over each element in this Tensor5. -
def
me: spatial.lang.host.Tensor5[A] @scala.annotation.unchecked.uncheckedVariance
- Attributes
- protected
- Definition Classes
- ExpType
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
neql(that: Tensor5[A]): lang.Bit
- Definition Classes
- Tensor5 → Struct → Top
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
reduce(rfunc: (A, A) ⇒ A): A
Reduces the elements in this Tensor5 into a single element using associative function
rfunc
. -
def
reorder(ordering: Seq[Int]): Tensor5[A]
Reorders the Tensor5 based on given ordering (i.e.- reorder(0,1,2,3,4) does nothing)
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toString(): String
- Definition Classes
- Ref → AnyRef → Any
-
def
toText: argon.lang.Text
- Definition Classes
- Top
-
def
unrelated(that: Any): Unit
- Attributes
- protected
- Definition Classes
- Top
-
def
update(i: lang.I32, j: lang.I32, k: lang.I32, l: lang.I32, m: lang.I32, elem: A): lang.Void
Updates the element at the given 5-dimensional address to
elem
. -
def
value(c: Any): Option[(Nothing, Boolean)]
- Attributes
- protected
- Definition Classes
- ExpType
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
withCheck[T](x: ⇒ T)(eql: (T) ⇒ Boolean): Option[(T, Boolean)]
- Attributes
- protected
- Definition Classes
- ExpType
-
def
zip[B, C](b: Tensor5[B])(func: (A, B) ⇒ C)(implicit arg0: Type[B], arg1: Type[C]): Tensor5[C]
Returns a new Tensor5 created using the pairwise mapping
func
over each element in this Tensor5 and the corresponding element inthat
.