com
.
intel
.
analytics
.
bigdl
.
tensor
.
TensorNumericMath
TensorNumeric
trait
TensorNumeric
[
T
]
extends
Serializable
define tensor math operation
Linear Supertypes
Serializable
,
Serializable
,
AnyRef
,
Any
Known Subclasses
NumericDouble
,
NumericFloat
Ordering
Alphabetic
By inheritance
Inherited
TensorNumeric
Serializable
Serializable
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Abstract Value Members
abstract
def
abs
(
x:
T
)
:
T
abstract
def
add
(
n:
Int
,
a:
Array
[
T
]
,
offset:
Int
,
v:
T
,
stride:
Int
)
:
Unit
abstract
def
arraycopy
(
src:
Array
[
T
]
,
srcPos:
Int
,
dest:
Array
[
T
]
,
destPos:
Int
,
length:
Int
)
:
Unit
abstract
def
axpy
(
n:
Int
,
da:
T
,
dx:
Array
[
T
]
,
_dx_offset:
Int
,
incx:
Int
,
dy:
Array
[
T
]
,
_dy_offset:
Int
,
incy:
Int
)
:
Unit
abstract
def
divide
(
x:
T
,
y:
T
)
:
T
abstract
def
dot
(
n:
Int
,
dx:
Array
[
T
]
,
_dx_offset:
Int
,
incx:
Int
,
dy:
Array
[
T
]
,
_dy_offset:
Int
,
incy:
Int
)
:
T
abstract
def
exp
(
x:
T
)
:
T
abstract
def
fill
(
data:
Array
[
T
]
,
fromIndex:
Int
,
toIndex:
Int
,
value:
T
)
:
Unit
abstract
def
fromType
[
K
]
(
k:
K
)
(
implicit
c:
ConvertableFrom
[
K
]
)
:
T
abstract
def
gemm
(
transa:
Char
,
transb:
Char
,
m:
Int
,
n:
Int
,
k:
Int
,
alpha:
T
,
a:
Array
[
T
]
,
aOffset:
Int
,
lda:
Int
,
b:
Array
[
T
]
,
bOffset:
Int
,
ldb:
Int
,
beta:
T
,
c:
Array
[
T
]
,
cOffset:
Int
,
ldc:
Int
)
:
Unit
abstract
def
gemv
(
trans:
Char
,
m:
Int
,
n:
Int
,
alpha:
T
,
a:
Array
[
T
]
,
aoffset:
Int
,
lda:
Int
,
x:
Array
[
T
]
,
xOffset:
Int
,
incx:
Int
,
beta:
T
,
y:
Array
[
T
]
,
yOffset:
Int
,
incy:
Int
)
:
Unit
abstract
def
ger
(
m:
Int
,
n:
Int
,
alpha:
T
,
x:
Array
[
T
]
,
_x_offset:
Int
,
incx:
Int
,
y:
Array
[
T
]
,
_y_offset:
Int
,
incy:
Int
,
a:
Array
[
T
]
,
_a_offset:
Int
,
lda:
Int
)
:
Unit
abstract
def
getType
()
:
TensorDataType
abstract
def
inv
(
v:
T
)
:
T
abstract
def
isGreater
(
x:
T
,
y:
T
)
:
Boolean
abstract
def
isGreaterEq
(
x:
T
,
y:
T
)
:
Boolean
abstract
def
log
(
x:
T
)
:
T
abstract
def
log1p
(
x:
T
)
:
T
abstract
def
max
(
x:
T
,
y:
T
)
:
T
abstract
def
minus
(
x:
T
,
y:
T
)
:
T
abstract
def
negative
(
x:
T
)
:
T
abstract
def
plus
(
x:
T
,
y:
T
)
:
T
abstract
def
pow
(
x:
T
,
y:
T
)
:
T
abstract
def
pow
(
x:
T
)
:
T
abstract
def
rand
()
:
T
abstract
def
randn
()
:
T
abstract
def
scal
(
n:
Int
,
sa:
T
,
sx:
Array
[
T
]
,
offset:
Int
,
incx:
Int
)
:
Unit
abstract
def
sqrt
(
x:
T
)
:
T
abstract
def
sub
(
n:
Int
,
a:
Array
[
T
]
,
offset:
Int
,
v:
T
,
stride:
Int
)
:
Unit
abstract
def
sum
(
n:
Int
,
a:
Array
[
T
]
,
aOffset:
Int
,
stride:
Int
)
:
T
abstract
def
times
(
x:
T
,
y:
T
)
:
T
abstract
def
toType
[
K
]
(
t:
T
)
(
implicit
c:
ConvertableTo
[
K
]
)
:
K
abstract
def
vAbs
(
n:
Int
,
a:
Array
[
T
]
,
aOffset:
Int
,
y:
Array
[
T
]
,
yOffset:
Int
)
:
Unit
abstract
def
vAdd
(
n:
Int
,
a:
Array
[
T
]
,
aOffset:
Int
,
b:
Array
[
T
]
,
bOffset:
Int
,
y:
Array
[
T
]
,
yOffset:
Int
)
:
Unit
abstract
def
vDiv
(
n:
Int
,
a:
Array
[
T
]
,
aOffset:
Int
,
b:
Array
[
T
]
,
bOffset:
Int
,
y:
Array
[
T
]
,
yOffset:
Int
)
:
Unit
abstract
def
vExp
(
n:
Int
,
a:
Array
[
T
]
,
aOffset:
Int
,
y:
Array
[
T
]
,
yOffset:
Int
)
:
Unit
abstract
def
vLn
(
n:
Int
,
a:
Array
[
T
]
,
aOffset:
Int
,
y:
Array
[
T
]
,
yOffset:
Int
)
:
Unit
abstract
def
vLog1p
(
n:
Int
,
a:
Array
[
T
]
,
aOffset:
Int
,
y:
Array
[
T
]
,
yOffset:
Int
)
:
Unit
abstract
def
vMul
(
n:
Int
,
a:
Array
[
T
]
,
aOffset:
Int
,
b:
Array
[
T
]
,
bOffset:
Int
,
y:
Array
[
T
]
,
yOffset:
Int
)
:
Unit
abstract
def
vPowx
(
n:
Int
,
a:
Array
[
T
]
,
aOffset:
Int
,
b:
T
,
y:
Array
[
T
]
,
yOffset:
Int
)
:
Unit
abstract
def
vSqrt
(
n:
Int
,
a:
Array
[
T
]
,
aOffset:
Int
,
y:
Array
[
T
]
,
yOffset:
Int
)
:
Unit
abstract
def
vSub
(
n:
Int
,
a:
Array
[
T
]
,
aOffset:
Int
,
b:
Array
[
T
]
,
bOffset:
Int
,
y:
Array
[
T
]
,
yOffset:
Int
)
:
Unit
Concrete Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
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
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
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
one
:
T
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
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
(
...
)
def
zero
:
T
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped
define tensor math operation