trait NonInlineTensor extends Tensor
A Tensor that is associated with a non-inline kernel program (i.e. never merged into a larger kernel).
- Source
- Tensors.scala
- Grouped
- Alphabetic
- By Inheritance
- NonInlineTensor
- Tensor
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
%(rightHandSide: Tensor): InlineTensor
- Definition Classes
- Tensor
-
def
*(rightHandSide: Tensor): InlineTensor
- Definition Classes
- Tensor
-
def
+(rightHandSide: Tensor): InlineTensor
- Definition Classes
- Tensor
-
def
-(rightHandSide: Tensor): InlineTensor
- Definition Classes
- Tensor
-
def
->[B](y: B): (NonInlineTensor, B)
- Implicit
- This member is added by an implicit conversion from NonInlineTensor to ArrowAssoc[NonInlineTensor] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
def
/(rightHandSide: Tensor): InlineTensor
- Definition Classes
- Tensor
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
broadcast(newShape: Array[Int]): Tensor
- Definition Classes
- Tensor
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
lazy val
closure: (arrayTerm)#Element
- Attributes
- protected
- Definition Classes
- NonInlineTensor → Tensor
- Annotations
- @transient()
-
def
doCache: Do[CachedTensor]
Allocates device-side cache that are managed by the RAII.scala library.
Allocates device-side cache that are managed by the RAII.scala library.
- Definition Classes
- Tensor
-
def
ensuring(cond: (NonInlineTensor) ⇒ Boolean, msg: ⇒ Any): NonInlineTensor
- Implicit
- This member is added by an implicit conversion from NonInlineTensor to Ensuring[NonInlineTensor] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (NonInlineTensor) ⇒ Boolean): NonInlineTensor
- Implicit
- This member is added by an implicit conversion from NonInlineTensor to Ensuring[NonInlineTensor] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): NonInlineTensor
- Implicit
- This member is added by an implicit conversion from NonInlineTensor to Ensuring[NonInlineTensor] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): NonInlineTensor
- Implicit
- This member is added by an implicit conversion from NonInlineTensor to Ensuring[NonInlineTensor] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatArray: Future[Array[Trees.FloatTrees.FloatTerm.JvmValue]]
Returns an asynchronous task to read this Tensor into a scala.Array, which is linearized in row-major order.
Returns an asynchronous task to read this Tensor into a scala.Array, which is linearized in row-major order.
- Definition Classes
- Tensor
-
def
flatBuffer: Do[FloatBuffer]
Returns a RAII managed asynchronous task to read this Tensor into an off-heap memory, which is linearized in row-major order.
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from NonInlineTensor to StringFormat[NonInlineTensor] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nonInline: NonInlineTensor.this.type
- Definition Classes
- NonInlineTensor → Tensor
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
permute(dimensions: Array[Int]): TransformedTensor
- Definition Classes
- Tensor
-
def
read1DArray: Future[Array[Float]]
Returns an asynchronous task to read this Tensor into a scala.Array
Returns an asynchronous task to read this Tensor into a scala.Array
- Definition Classes
- Tensor
-
def
read1DSeq: Future[Seq[Float]]
Returns an asynchronous task to read this Tensor into a scala.Seq
-
def
read2DArray: Future[Array[Array[Float]]]
Returns an asynchronous task to read this Tensor into a 2D scala.Array
Returns an asynchronous task to read this Tensor into a 2D scala.Array
- Definition Classes
- Tensor
-
def
read2DSeq: Future[Seq[Seq[Float]]]
Returns an asynchronous task to read this Tensor into a 2D scala.Seq
-
def
read3DArray: Future[Array[Array[Array[Float]]]]
Returns an asynchronous task to read this Tensor into a 3D scala.Array
Returns an asynchronous task to read this Tensor into a 3D scala.Array
- Definition Classes
- Tensor
-
def
read3DSeq: Future[Seq[Seq[Seq[Float]]]]
Returns an asynchronous task to read this Tensor into a 3D scala.Seq
-
def
read4DArray: Future[Array[Array[Array[Array[Float]]]]]
Returns an asynchronous task to read this Tensor into a 4D scala.Array
Returns an asynchronous task to read this Tensor into a 4D scala.Array
- Definition Classes
- Tensor
-
def
read4DSeq: Future[Seq[Seq[Seq[Seq[Float]]]]]
Returns an asynchronous task to read this Tensor into a 4D scala.Seq
-
def
read5DArray: Future[Array[Array[Array[Array[Array[Float]]]]]]
Returns an asynchronous task to read this Tensor into a 5D scala.Array
Returns an asynchronous task to read this Tensor into a 5D scala.Array
- Definition Classes
- Tensor
-
def
read5DSeq: Future[Seq[Seq[Seq[Seq[Seq[Float]]]]]]
Returns an asynchronous task to read this Tensor into a 5D scala.Seq
-
def
readScalar: Future[Float]
Returns an asynchronous task to read this Tensor into a scala.Float
Returns an asynchronous task to read this Tensor into a scala.Float
- Definition Classes
- Tensor
-
def
reshape(newShape: Array[Int]): NonInlineTensor
Returns a new Tensor of new shape and the same data of this Tensor.
- Definition Classes
- Tensor
- Note
The data in this Tensor is considered as row-major order when reshape. You can create another column-major version reshape by reversing the shape:
def columnMajorReshape[Category <: Tensors](tensor: Category#Tensor, newShape: Array[Int]): Category#Tensor = { tensor.permute(tensor.shape.indices.reverse.toArray).reshape(newShape.reverse).permute(newShape.indices.reverse.toArray) }
-
def
scale(newShape: Array[Int]): TransformedTensor
- Definition Classes
- Tensor
-
def
split(dimension: Int): IndexedSeq[TransformedTensor]
- Definition Classes
- Tensor
-
def
sum: NonInlineTensor
- Definition Classes
- Tensor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Tensor → AnyRef → Any
-
def
translate(offset: Array[Double], newShape: Array[Int] = shape): TransformedTensor
- Definition Classes
- Tensor
-
def
transpose: TransformedTensor
- Definition Classes
- Tensor
-
def
unary_+: NonInlineTensor.this.type
- Definition Classes
- Tensor
-
def
unary_-: InlineTensor
- Definition Classes
- Tensor
-
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( ... )
-
def
→[B](y: B): (NonInlineTensor, B)
- Implicit
- This member is added by an implicit conversion from NonInlineTensor to ArrowAssoc[NonInlineTensor] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Shadowed Implicit Value Members
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from NonInlineTensor to any2stringadd[NonInlineTensor] performed by method any2stringadd in scala.Predef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(nonInlineTensor: any2stringadd[NonInlineTensor]).+(other)
- Definition Classes
- any2stringadd
Inherited from Tensor
Inherited from AnyRef
Inherited from Any
Inherited by implicit conversion any2stringadd from NonInlineTensor to any2stringadd[NonInlineTensor]
Inherited by implicit conversion StringFormat from NonInlineTensor to StringFormat[NonInlineTensor]
Inherited by implicit conversion Ensuring from NonInlineTensor to Ensuring[NonInlineTensor]
Inherited by implicit conversion ArrowAssoc from NonInlineTensor to ArrowAssoc[NonInlineTensor]
General information
Methods that provides general information of this Tensor.
Slow actions
Actions that can actually perform delayed operations in order to read the data from the device to JVM, or change the internal state of this Tensor.
Delayed operators
Operators that return new Tensors of delay-evaluated computational graphs. The actually computation will be only performed when Slow actions are called.