com
.
thoughtworks
.
compute
.
Tensors
Tensor
Related Docs:
trait Tensor
|
package Tensors
object
Tensor
Source
Tensors.scala
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Tensor
AnyRef
Any
Hide All
Show All
Visibility
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
abs
(
leftHandSide:
Tensor
)
:
InlineTensor
def
apply
[
A
]
(
elements:
A
,
padding:
Float
=
0.0f
)
(
implicit
tensorBuilder:
Aux
[
A
,
Float
]
)
:
NonInlineTensor
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
exp
(
leftHandSide:
Tensor
)
:
InlineTensor
def
fill
(
value:
Float
,
shape0:
Array
[
Int
]
,
padding:
Float
=
0.0f
)
:
InlineTensor
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
join
(
tensors0:
Seq
[
Tensor
]
)
:
NonInlineTensor
def
join
(
tensors0:
Seq
[
Tensor
]
,
dimension:
Int
)
:
Tensor
def
log
(
leftHandSide:
Tensor
)
:
InlineTensor
def
max
(
leftHandSide:
Tensor
,
rightHandSide:
Tensor
)
:
InlineTensor
def
min
(
leftHandSide:
Tensor
,
rightHandSide:
Tensor
)
:
InlineTensor
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
random
(
shape:
Array
[
Int
]
,
seed:
Int
=
Random.nextInt()
,
padding:
Float
=
0.0f
)
:
NonInlineTensor
def
randomNormal
(
shape:
Array
[
Int
]
,
seed:
Int
=
Random.nextInt()
,
padding:
Float
=
0.0f
)
:
NonInlineTensor
Generate random numbers in normal distribution.
def
scalar
(
value:
Float
,
padding:
Float
=
0.0f
)
:
InlineTensor
def
sqrt
(
leftHandSide:
Tensor
)
:
InlineTensor
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
tanh
(
leftHandSide:
Tensor
)
:
InlineTensor
def
toString
()
:
String
Definition Classes
AnyRef → Any
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
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped