class Tensor4[A] extends argon.lang.Top[Tensor4[A]] with lang.Struct[Tensor4[A]] with Ref[scala.Array[Any], Tensor4[A]]
A 4-dimensional tensor on the host
- Alphabetic
- By Inheritance
- Tensor4
- 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
- Tensor4 → ExpType
-
val
__typeParams: Seq[Type[A]]
- Attributes
- protected
- Definition Classes
- Tensor4 → ExpType
-
val
__typePrefix: String
- Attributes
- protected
- Definition Classes
- Tensor4 → ExpType
-
def
apply(i: lang.I32, j: lang.I32, k: lang.I32, l: lang.I32): A
Returns the element in this Tensor4 at the given 4-dimensional address.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
box: <:<[Tensor4[A], lang.Struct[Tensor4[A]]]
- Definition Classes
- Tensor4 → 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 Tensor4.
-
def
dim1: lang.I32
Returns the second dimension of this Tensor4.
-
def
dim2: lang.I32
Returns the third dimension of this Tensor4.
-
def
dim3: lang.I32
Returns the fourth dimension of this Tensor4.
-
def
dims: Seq[lang.I32]
Returns the dimensions of this Tensor4.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
eql(that: Tensor4[A]): lang.Bit
- Definition Classes
- Tensor4 → Struct → Top
-
final
def
equals(x: Any): Boolean
- Definition Classes
- Ref → Equals → AnyRef → Any
-
implicit
val
evRef: <:<[spatial.lang.host.Tensor4[A] @scala.annotation.unchecked.uncheckedVariance, Ref[Nothing, spatial.lang.host.Tensor4[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
- Tensor4 → 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 Tensor4's data.
-
def
foreach(func: (A) ⇒ lang.Void): lang.Void
Applies the function
func
on each element in this Tensor4. -
def
fresh: Tensor4[A]
- Attributes
- protected
- Definition Classes
- Tensor4 → ExpType
-
final
def
from(c: Any, warnOnLoss: Boolean, errorOnLoss: Boolean, isParam: Boolean, saturating: Boolean, unbiased: Boolean): spatial.lang.host.Tensor4[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.Tensor4[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 Tensor4.
-
def
map[B](func: (A) ⇒ B)(implicit arg0: Type[B]): Tensor4[B]
Returns a new Tensor4 created using the mapping
func
over each element in this Tensor4. -
def
me: spatial.lang.host.Tensor4[A] @scala.annotation.unchecked.uncheckedVariance
- Attributes
- protected
- Definition Classes
- ExpType
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
neql(that: Tensor4[A]): lang.Bit
- Definition Classes
- Tensor4 → 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 Tensor4 into a single element using associative function
rfunc
. -
def
reorder(ordering: Seq[Int]): Tensor4[A]
Reorders the Tensor4 based on given ordering (i.e.- reorder(0,1,2,3) 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, elem: A): lang.Void
Updates the element at the given 4-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: Tensor4[B])(func: (A, B) ⇒ C)(implicit arg0: Type[B], arg1: Type[C]): Tensor4[C]
Returns a new Tensor4 created using the pairwise mapping
func
over each element in this Tensor4 and the corresponding element inthat
.