object DenseTensorApply
- Alphabetic
- By Inheritance
- DenseTensorApply
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
apply1[T](tensor: Tensor[T], func: TensorFunc2[T]): Unit
Iterate through tensor1, tensor2, and apply func to the elements
Iterate through tensor1, tensor2, and apply func to the elements
- func
(tensor1Data, tensor1Offset)
-
def
apply1[A, B](tensor1: Tensor[A], tensor2: Tensor[B], func: TensorDiffTypeFunc4[A, B]): Unit
Iterate through tensor1, and apply func to the elements, set function result to tensor 2
Iterate through tensor1, and apply func to the elements, set function result to tensor 2
- tensor1
the tensor1
- tensor2
the result tensor
- func
(tensor1Data, tensor1Offset, tensor2Data, tensor2Offset)
-
def
apply2[A, B, C](tensor1: Tensor[A], tensor2: Tensor[B], tensor3: Tensor[C], func: TensorDiffTypeFunc6[A, B, C]): Unit
Iterate through tensor1, tensor2, and apply func to the elements, set function result to tensor 3
Iterate through tensor1, tensor2, and apply func to the elements, set function result to tensor 3
- tensor1
the tensor1
- tensor2
the tensor2
- tensor3
the result tensor
- func
(tensor1Data, tensor1Offset, tensor2Data, tensor2Offset, tensor3Data, tensor3Offset)
-
def
apply2[T](tensor1: Tensor[T], tensor2: Tensor[T], func: TensorFunc4[T]): Unit
Iterate through tensor1, tensor2, and apply func to the elements
Iterate through tensor1, tensor2, and apply func to the elements
- tensor1
the tensor
- tensor2
the tensor
- func
(tensor1Data, tensor1Offset, tensor2Data, tensor2Offset)
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCounter(largestDim: Int): Array[Int]
- def getLargestContiguousSize[T](tensor: Tensor[T]): (Int, Int)
-
def
getStride[T](tensor: Tensor[T]): Int
Get the stride discard dimensions with size 1
Get the stride discard dimensions with size 1
- tensor
tensor
-
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
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def updateCounter[T](tensor: Tensor[T], counter: Array[Int], offset: Int, dim: Int): (Boolean, Int)
-
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( ... )