org
.
platanios
.
tensorflow
.
api
tfi
Related Doc:
package api
object
tfi
extends
API
with
API
with
API
Linear Supertypes
API
,
API
,
API
,
API
,
Random
,
NN
,
Math
,
Basic
,
API
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
tfi
API
API
API
API
Random
NN
Math
Basic
API
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
type
AbortedException
=
jni.AbortedException
Definition Classes
API
type
AlreadyExistsException
=
jni.AlreadyExistsException
Definition Classes
API
type
CancelledException
=
jni.CancelledException
Definition Classes
API
type
CheckpointNotFoundException
=
core.exception.CheckpointNotFoundException
Definition Classes
API
type
DataLossException
=
jni.DataLossException
Definition Classes
API
type
DeadlineExceededException
=
jni.DeadlineExceededException
Definition Classes
API
type
DeviceSpecification
=
core.DeviceSpecification
Definition Classes
API
type
FailedPreconditionException
=
jni.FailedPreconditionException
Definition Classes
API
type
GraphMismatchException
=
core.exception.GraphMismatchException
Definition Classes
API
type
IllegalNameException
=
core.exception.IllegalNameException
Definition Classes
API
type
InternalException
=
jni.InternalException
Definition Classes
API
type
InvalidArgumentException
=
jni.InvalidArgumentException
Definition Classes
API
type
InvalidDataTypeException
=
core.exception.InvalidDataTypeException
Definition Classes
API
type
InvalidDeviceException
=
core.exception.InvalidDeviceException
Definition Classes
API
type
InvalidIndexerException
=
core.exception.InvalidIndexerException
Definition Classes
API
type
InvalidShapeException
=
core.exception.InvalidShapeException
Definition Classes
API
type
NotFoundException
=
jni.NotFoundException
Definition Classes
API
type
OpBuilderUsedException
=
core.exception.OpBuilderUsedException
Definition Classes
API
type
OutOfRangeException
=
jni.OutOfRangeException
Definition Classes
API
type
PermissionDeniedException
=
jni.PermissionDeniedException
Definition Classes
API
type
ResourceExhaustedException
=
jni.ResourceExhaustedException
Definition Classes
API
type
ShapeMismatchException
=
core.exception.ShapeMismatchException
Definition Classes
API
type
UnauthenticatedException
=
jni.UnauthenticatedException
Definition Classes
API
type
UnavailableException
=
jni.UnavailableException
Definition Classes
API
type
UnimplementedException
=
jni.UnimplementedException
Definition Classes
API
type
UnknownException
=
jni.UnknownException
Definition Classes
API
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
val
AbortedException
:
core.exception.AbortedException
.type
Definition Classes
API
val
AlreadyExistsException
:
core.exception.AlreadyExistsException
.type
Definition Classes
API
val
CancelledException
:
core.exception.CancelledException
.type
Definition Classes
API
val
CheckpointNotFoundException
:
core.exception.CheckpointNotFoundException
.type
Definition Classes
API
val
DataLossException
:
core.exception.DataLossException
.type
Definition Classes
API
val
DeadlineExceededException
:
core.exception.DeadlineExceededException
.type
Definition Classes
API
val
FailedPreconditionException
:
core.exception.FailedPreconditionException
.type
Definition Classes
API
val
GraphMismatchException
:
core.exception.GraphMismatchException
.type
Definition Classes
API
val
IllegalNameException
:
core.exception.IllegalNameException
.type
Definition Classes
API
val
InternalException
:
core.exception.InternalException
.type
Definition Classes
API
val
InvalidArgumentException
:
core.exception.InvalidArgumentException
.type
Definition Classes
API
val
InvalidDataTypeException
:
core.exception.InvalidDataTypeException
.type
Definition Classes
API
val
InvalidDeviceException
:
core.exception.InvalidDeviceException
.type
Definition Classes
API
val
InvalidIndexerException
:
core.exception.InvalidIndexerException
.type
Definition Classes
API
val
InvalidShapeException
:
core.exception.InvalidShapeException
.type
Definition Classes
API
val
NotFoundException
:
core.exception.NotFoundException
.type
Definition Classes
API
val
OpBuilderUsedException
:
core.exception.OpBuilderUsedException
.type
Definition Classes
API
val
OutOfRangeException
:
core.exception.OutOfRangeException
.type
Definition Classes
API
val
PermissionDeniedException
:
core.exception.PermissionDeniedException
.type
Definition Classes
API
val
ResourceExhaustedException
:
core.exception.ResourceExhaustedException
.type
Definition Classes
API
val
ShapeMismatchException
:
core.exception.ShapeMismatchException
.type
Definition Classes
API
val
UnauthenticatedException
:
core.exception.UnauthenticatedException
.type
Definition Classes
API
val
UnavailableException
:
core.exception.UnavailableException
.type
Definition Classes
API
val
UnimplementedException
:
core.exception.UnimplementedException
.type
Definition Classes
API
val
UnknownException
:
core.exception.UnknownException
.type
Definition Classes
API
def
abs
[
T <:
TensorLike
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
acos
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
acosh
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
add
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
addBias
(
value:
tensors.Tensor
,
bias:
tensors.Tensor
,
cNNDataFormat:
CNNDataFormat
=
CNNDataFormat.default
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
addN
(
inputs:
Seq
[
tensors.Tensor
]
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
all
(
input:
tensors.Tensor
,
axes:
tensors.Tensor
=
null
,
keepDims:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
angle
[
T <:
TensorLike
]
(
input:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
any
(
input:
tensors.Tensor
,
axes:
tensors.Tensor
=
null
,
keepDims:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
approximatelyEqual
(
x:
tensors.Tensor
,
y:
tensors.Tensor
,
tolerance:
Float
=
0.00001f
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
argmax
(
input:
tensors.Tensor
,
axes:
tensors.Tensor
=
0
,
outputDataType:
types.DataType
=
INT64
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
argmin
(
input:
tensors.Tensor
,
axes:
tensors.Tensor
=
0
,
outputDataType:
types.DataType
=
INT64
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
asin
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
asinh
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
atan
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
atan2
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
atanh
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
batchToSpace
(
input:
tensors.Tensor
,
blockSize:
Int
,
crops:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
batchToSpaceND
(
input:
tensors.Tensor
,
blockShape:
tensors.Tensor
,
crops:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
binCount
(
input:
tensors.Tensor
,
weights:
tensors.Tensor
=
null
,
minLength:
tensors.Tensor
=
null
,
maxLength:
tensors.Tensor
=
null
,
dataType:
types.DataType
=
INT32
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
bitcast
(
input:
tensors.Tensor
,
dataType:
types.DataType
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
booleanMask
(
input:
tensors.Tensor
,
mask:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
bucketize
(
input:
tensors.Tensor
,
boundaries:
Seq
[
Float
]
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
cast
[
T <:
TensorLike
]
(
x:
T
,
dataType:
types.DataType
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
ceil
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
checkNumerics
(
input:
tensors.Tensor
,
message:
String
=
""
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
complex
(
real:
tensors.Tensor
,
imag:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
Annotations
@throws
(
...
)
def
concatenate
(
inputs:
Seq
[
tensors.Tensor
]
,
axis:
tensors.Tensor
=
0
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
conjugate
[
T <:
TensorLike
]
(
input:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
conv2D
(
input:
tensors.Tensor
,
filter:
tensors.Tensor
,
stride1:
Long
,
stride2:
Long
,
padding:
PaddingMode
,
dataFormat:
CNNDataFormat
=
CNNDataFormat.default
,
useCuDNNOnGPU:
Boolean
=
true
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
conv2DBackpropFilter
(
input:
tensors.Tensor
,
filterSizes:
tensors.Tensor
,
outputGradient:
tensors.Tensor
,
stride1:
Long
,
stride2:
Long
,
padding:
PaddingMode
,
dataFormat:
CNNDataFormat
=
CNNDataFormat.default
,
useCuDNNOnGPU:
Boolean
=
true
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
conv2DBackpropInput
(
inputSizes:
tensors.Tensor
,
filter:
tensors.Tensor
,
outputGradient:
tensors.Tensor
,
stride1:
Long
,
stride2:
Long
,
padding:
PaddingMode
,
dataFormat:
CNNDataFormat
=
CNNDataFormat.default
,
useCuDNNOnGPU:
Boolean
=
true
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
cos
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
cosh
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
countNonZero
(
input:
tensors.Tensor
,
axes:
tensors.Tensor
=
null
,
keepDims:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
crelu
(
input:
tensors.Tensor
)
:
tensors.Tensor
Definition Classes
NN
def
cross
(
a:
tensors.Tensor
,
b:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
cumprod
(
input:
tensors.Tensor
,
axis:
tensors.Tensor
=
0
,
exclusive:
Boolean
=
false
,
reverse:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
cumsum
(
input:
tensors.Tensor
,
axis:
tensors.Tensor
=
0
,
exclusive:
Boolean
=
false
,
reverse:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
dataType
(
name:
String
)
:
types.DataType
Definition Classes
API
Annotations
@throws
(
...
)
def
dataType
(
cValue:
Int
)
:
types.DataType
Definition Classes
API
Annotations
@throws
(
...
)
def
dataTypeOf
[
T
]
(
value:
T
)
(
implicit
arg0:
SupportedType
[
T
]
)
:
types.DataType
Definition Classes
API
Annotations
@inline
()
def
depthToSpace
(
input:
tensors.Tensor
,
blockSize:
Int
,
dataFormat:
CNNDataFormat
=
CNNDataFormat.default
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
diag
(
diagonal:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
diagPart
(
input:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
digamma
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
divide
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
dropout
(
input:
tensors.Tensor
,
keepProbability:
Float
,
noiseShape:
tensors.Tensor
=
null
,
seed:
Option
[
Int
] =
None
)
:
tensors.Tensor
Definition Classes
NN
def
editDistance
(
hypothesis:
SparseTensor
,
truth:
SparseTensor
,
normalize:
Boolean
=
true
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
elu
(
input:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equal
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
erf
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
erfc
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
exp
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
expandDims
(
input:
tensors.Tensor
,
axis:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
expm1
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
floor
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
floorMod
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
gather
(
input:
tensors.Tensor
,
indices:
tensors.Tensor
,
axis:
tensors.Tensor
=
0
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
gatherND
(
input:
tensors.Tensor
,
indices:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
greater
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
greaterEqual
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
igamma
(
a:
tensors.Tensor
,
x:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
igammac
(
a:
tensors.Tensor
,
x:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
imag
[
T <:
TensorLike
]
(
input:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
inTopK
(
predictions:
tensors.Tensor
,
targets:
tensors.Tensor
,
k:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
incompleteBeta
(
a:
tensors.Tensor
,
b:
tensors.Tensor
,
x:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
indexedSlicesMask
(
input:
TensorIndexedSlices
,
maskIndices:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
TensorIndexedSlices
Definition Classes
Basic
Annotations
@throws
(
...
)
def
invertPermutation
(
input:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
isFinite
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
isInf
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isNaN
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
l2Loss
(
input:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
l2Normalize
(
x:
tensors.Tensor
,
axes:
tensors.Tensor
,
epsilon:
Float
=
1e-12f
)
:
tensors.Tensor
Definition Classes
NN
def
leastPreciseDataType
(
dataTypes:
types.DataType
*
)
:
types.DataType
Definition Classes
API
def
less
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
lessEqual
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
linear
(
x:
tensors.Tensor
,
weights:
tensors.Tensor
,
bias:
tensors.Tensor
=
null
)
:
tensors.Tensor
Definition Classes
NN
def
linspace
(
start:
tensors.Tensor
,
stop:
tensors.Tensor
,
numberOfValues:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
listDiff
(
x:
tensors.Tensor
,
y:
tensors.Tensor
,
indicesDataType:
types.DataType
=
INT32
)
(
implicit
context:
DynamicVariable
[
Context
]
)
: (
tensors.Tensor
,
tensors.Tensor
)
Definition Classes
Basic
def
log
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
log1p
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
logGamma
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
logPoissonLoss
(
logPredictions:
tensors.Tensor
,
targets:
tensors.Tensor
,
computeFullLoss:
Boolean
=
false
)
:
tensors.Tensor
Definition Classes
NN
def
logSoftmax
(
logits:
tensors.Tensor
,
axis:
Int
=
1
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
logSumExp
(
input:
tensors.Tensor
,
axes:
Seq
[
Int
] =
null
,
keepDims:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
logicalAnd
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
logicalNot
(
x:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
logicalOr
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
logicalXOr
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
matmul
(
a:
tensors.Tensor
,
b:
tensors.Tensor
,
transposeA:
Boolean
=
false
,
transposeB:
Boolean
=
false
,
conjugateA:
Boolean
=
false
,
conjugateB:
Boolean
=
false
,
aIsSparse:
Boolean
=
false
,
bIsSparse:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
matrixBandPart
(
input:
tensors.Tensor
,
numSubDiagonals:
tensors.Tensor
,
numSuperDiagonals:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
matrixDiag
(
diagonal:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
matrixDiagPart
(
input:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
matrixSetDiag
(
input:
tensors.Tensor
,
diagonal:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
matrixTranspose
(
input:
tensors.Tensor
,
conjugate:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
max
(
input:
tensors.Tensor
,
axes:
tensors.Tensor
=
null
,
keepDims:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
maxPool
(
input:
tensors.Tensor
,
windowSize:
Seq
[
Long
]
,
stride1:
Long
,
stride2:
Long
,
padding:
PaddingMode
,
dataFormat:
CNNDataFormat
=
CNNDataFormat.default
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
maxPoolGrad
(
originalInput:
tensors.Tensor
,
originalOutput:
tensors.Tensor
,
outputGradient:
tensors.Tensor
,
windowSize:
Seq
[
Long
]
,
stride1:
Long
,
stride2:
Long
,
padding:
PaddingMode
,
dataFormat:
CNNDataFormat
=
CNNDataFormat.default
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
maxPoolGradGrad
(
originalInput:
tensors.Tensor
,
originalOutput:
tensors.Tensor
,
outputGradient:
tensors.Tensor
,
windowSize:
Seq
[
Long
]
,
stride1:
Long
,
stride2:
Long
,
padding:
PaddingMode
,
dataFormat:
CNNDataFormat
=
CNNDataFormat.default
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
maximum
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
mean
(
input:
tensors.Tensor
,
axes:
tensors.Tensor
=
null
,
keepDims:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
min
(
input:
tensors.Tensor
,
axes:
tensors.Tensor
=
null
,
keepDims:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
minimum
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
mod
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
mostPreciseDataType
(
dataTypes:
types.DataType
*
)
:
types.DataType
Definition Classes
API
def
multiply
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
negate
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
notEqual
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
oneHot
(
indices:
tensors.Tensor
,
depth:
tensors.Tensor
,
onValue:
tensors.Tensor
=
null
,
offValue:
tensors.Tensor
=
null
,
axis:
Int
=
1
,
dataType:
types.DataType
=
null
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
pad
(
input:
tensors.Tensor
,
paddings:
tensors.Tensor
,
mode:
ops.Basic.PaddingMode
=
ConstantPadding
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
parallelStack
(
inputs:
Array
[
tensors.Tensor
]
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
polygamma
(
n:
tensors.Tensor
,
x:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
pow
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
preventGradient
(
input:
tensors.Tensor
,
message:
String
=
""
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
prod
(
input:
tensors.Tensor
,
axes:
tensors.Tensor
=
null
,
keepDims:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
randomNormal
(
dataType:
types.DataType
=
FLOAT32
,
shape:
tensors.Tensor
=
Shape.scalar()
,
mean:
tensors.Tensor
=
0.0
,
standardDeviation:
tensors.Tensor
=
1.0
,
seed:
Option
[
Int
] =
None
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Random
def
randomTruncatedNormal
(
dataType:
types.DataType
=
FLOAT32
,
shape:
tensors.Tensor
=
Shape.scalar()
,
mean:
tensors.Tensor
=
0.0
,
standardDeviation:
tensors.Tensor
=
1.0
,
seed:
Option
[
Int
] =
None
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Random
def
randomUniform
(
dataType:
types.DataType
=
FLOAT32
,
shape:
tensors.Tensor
=
Shape.scalar()
,
minValue:
tensors.Tensor
=
0.0
,
maxValue:
tensors.Tensor
=
1.0
,
seed:
Option
[
Int
] =
None
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Random
def
range
(
start:
tensors.Tensor
,
limit:
tensors.Tensor
,
delta:
tensors.Tensor
=
1
,
dataType:
types.DataType
=
null
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
rank
[
T <:
TensorLike
]
(
input:
T
)
:
tensors.Tensor
Definition Classes
Basic
def
real
[
T <:
TensorLike
]
(
input:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
realDivide
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
reciprocal
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
relu
(
input:
tensors.Tensor
,
alpha:
Float
=
0.0f
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
relu6
(
input:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
requiredSpaceToBatchPaddingsAndCrops
(
inputShape:
tensors.Tensor
,
blockShape:
tensors.Tensor
,
basePaddings:
tensors.Tensor
=
null
)
(
implicit
context:
DynamicVariable
[
Context
]
)
: (
tensors.Tensor
,
tensors.Tensor
)
Definition Classes
Basic
Annotations
@throws
(
...
)
def
reshape
(
input:
tensors.Tensor
,
shape:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
reverse
(
input:
tensors.Tensor
,
axes:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
reverseSequence
(
input:
tensors.Tensor
,
sequenceLengths:
tensors.Tensor
,
sequenceAxis:
Int
,
batchAxis:
Int
=
0
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
round
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
roundInt
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
rsqrt
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
scalarMul
[
T
]
(
scalar:
tensors.Tensor
,
tensor:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
scatterND
(
indices:
tensors.Tensor
,
updates:
tensors.Tensor
,
shape:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
segmentMax
(
data:
tensors.Tensor
,
segmentIndices:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
segmentMean
(
data:
tensors.Tensor
,
segmentIndices:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
segmentMin
(
data:
tensors.Tensor
,
segmentIndices:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
segmentProd
(
data:
tensors.Tensor
,
segmentIndices:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
segmentSum
(
data:
tensors.Tensor
,
segmentIndices:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
select
(
condition:
tensors.Tensor
,
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
selu
(
input:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
sequenceLoss
(
logits:
tensors.Tensor
,
labels:
tensors.Tensor
,
weights:
tensors.Tensor
=
null
,
averageAcrossTimeSteps:
Boolean
=
true
,
averageAcrossBatch:
Boolean
=
true
,
lossFn: (
tensors.Tensor
,
tensors.Tensor
) ⇒
tensors.Tensor
=
sparseSoftmaxCrossEntropy(_, _)
)
:
tensors.Tensor
Definition Classes
NN
Annotations
@throws
(
...
)
def
sequenceMask
(
lengths:
tensors.Tensor
,
maxLength:
tensors.Tensor
=
null
,
dataType:
types.DataType
=
BOOLEAN
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
shape
[
T <:
TensorLike
]
(
input:
T
,
dataType:
types.DataType
=
INT32
)
:
tensors.Tensor
Definition Classes
Basic
def
shapeN
(
inputs:
Seq
[
tensors.Tensor
]
,
dataType:
types.DataType
=
INT32
)
:
Seq
[
tensors.Tensor
]
Definition Classes
Basic
def
sigmoid
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
sigmoidCrossEntropy
(
logits:
tensors.Tensor
,
labels:
tensors.Tensor
,
weights:
tensors.Tensor
=
null
)
:
tensors.Tensor
Definition Classes
NN
def
sign
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
sin
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
sinh
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
size
[
T <:
TensorLike
]
(
input:
T
,
dataType:
types.DataType
=
INT32
)
:
tensors.Tensor
Definition Classes
Basic
def
softmax
(
logits:
tensors.Tensor
,
axis:
Int
=
1
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
softmaxCrossEntropy
(
logits:
tensors.Tensor
,
labels:
tensors.Tensor
,
axis:
Int
=
1
)
:
tensors.Tensor
Definition Classes
NN
def
softplus
(
input:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
softsign
(
input:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
NN
def
spaceToBatch
(
input:
tensors.Tensor
,
blockSize:
Int
,
paddings:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
spaceToBatchND
(
input:
tensors.Tensor
,
blockShape:
tensors.Tensor
,
paddings:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
spaceToDepth
(
input:
tensors.Tensor
,
blockSize:
Int
,
dataFormat:
CNNDataFormat
=
CNNDataFormat.default
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
sparseSegmentMean
(
data:
tensors.Tensor
,
indices:
tensors.Tensor
,
segmentIndices:
tensors.Tensor
,
numSegments:
tensors.Tensor
=
null
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
sparseSegmentSum
(
data:
tensors.Tensor
,
indices:
tensors.Tensor
,
segmentIndices:
tensors.Tensor
,
numSegments:
tensors.Tensor
=
null
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
sparseSegmentSumSqrtN
(
data:
tensors.Tensor
,
indices:
tensors.Tensor
,
segmentIndices:
tensors.Tensor
,
numSegments:
tensors.Tensor
=
null
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
sparseSoftmaxCrossEntropy
(
logits:
tensors.Tensor
,
labels:
tensors.Tensor
,
axis:
Int
=
1
)
:
tensors.Tensor
Definition Classes
NN
def
split
(
input:
tensors.Tensor
,
splitSizes:
tensors.Tensor
,
axis:
tensors.Tensor
=
0
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
Seq
[
tensors.Tensor
]
Definition Classes
Basic
def
splitEvenly
(
input:
tensors.Tensor
,
numSplits:
Int
,
axis:
tensors.Tensor
=
0
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
Seq
[
tensors.Tensor
]
Definition Classes
Basic
def
sqrt
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
square
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
squaredDifference
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
squeeze
(
input:
tensors.Tensor
,
axes:
Seq
[
Int
] =
null
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
stack
(
inputs:
Seq
[
tensors.Tensor
]
,
axis:
Int
=
0
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
stopGradient
(
input:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
subtract
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
sum
(
input:
tensors.Tensor
,
axes:
tensors.Tensor
=
null
,
keepDims:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
tan
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
tanh
[
T
]
(
x:
T
)
(
implicit
arg0:
TensorOps
[
T
]
,
context:
DynamicVariable
[
Context
]
)
:
T
Definition Classes
Math
def
tensorDot
(
a:
tensors.Tensor
,
b:
tensors.Tensor
,
axesA:
tensors.Tensor
,
axesB:
tensors.Tensor
)
:
tensors.Tensor
Definition Classes
Math
def
tensorDot
(
a:
tensors.Tensor
,
b:
tensors.Tensor
,
numAxes:
tensors.Tensor
)
:
tensors.Tensor
Definition Classes
Math
def
tile
(
input:
tensors.Tensor
,
multiples:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
topK
(
input:
tensors.Tensor
,
k:
tensors.Tensor
=
1
,
sorted:
Boolean
=
true
)
(
implicit
context:
DynamicVariable
[
Context
]
)
: (
tensors.Tensor
,
tensors.Tensor
)
Definition Classes
NN
def
trace
(
input:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
transpose
(
input:
tensors.Tensor
,
permutation:
tensors.Tensor
=
null
,
conjugate:
Boolean
=
false
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
truncateDivide
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
truncateMod
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
unique
(
input:
tensors.Tensor
,
indicesDataType:
types.DataType
=
INT32
)
(
implicit
context:
DynamicVariable
[
Context
]
)
: (
tensors.Tensor
,
tensors.Tensor
)
Definition Classes
Basic
def
uniqueWithCounts
(
input:
tensors.Tensor
,
indicesDataType:
types.DataType
=
INT32
)
(
implicit
context:
DynamicVariable
[
Context
]
)
: (
tensors.Tensor
,
tensors.Tensor
,
tensors.Tensor
)
Definition Classes
Basic
def
unsortedSegmentMax
(
data:
tensors.Tensor
,
segmentIndices:
tensors.Tensor
,
segmentsNumber:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
unsortedSegmentSum
(
data:
tensors.Tensor
,
segmentIndices:
tensors.Tensor
,
segmentsNumber:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
unstack
(
input:
tensors.Tensor
,
number:
Int
=
1
,
axis:
Int
=
0
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
Seq
[
tensors.Tensor
]
Definition Classes
Basic
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
where
(
input:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Basic
def
zerosFraction
(
input:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
def
zeta
(
x:
tensors.Tensor
,
q:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
Deprecated Value Members
def
floorDivide
(
x:
tensors.Tensor
,
y:
tensors.Tensor
)
(
implicit
context:
DynamicVariable
[
Context
]
)
:
tensors.Tensor
Definition Classes
Math
Annotations
@deprecated
Deprecated
(Since version 0.1)
Use
truncateDivide
instead.
Inherited from
API
Inherited from
API
Inherited from
API
Inherited from
API
Inherited from
Random
Inherited from
NN
Inherited from
Math
Inherited from
Basic
Inherited from
API
Inherited from
AnyRef
Inherited from
Any
Ungrouped