org
.
platanios
.
tensorflow
.
api
.
tensors
.
ops
.
Basic
BasicOps
Related Doc:
package Basic
case class
BasicOps
(
tensor:
Tensor
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
BasicOps
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
BasicOps
(
tensor:
Tensor
)
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
batchToSpace
(
blockSize:
Int
,
crops:
Tensor
)
:
Tensor
def
batchToSpaceND
(
blockShape:
Tensor
,
crops:
Tensor
)
:
Tensor
def
booleanMask
(
mask:
Tensor
)
:
Tensor
def
checkNumerics
(
message:
String
=
""
)
:
Tensor
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
depthToSpace
(
blockSize:
Int
,
dataFormat:
CNNDataFormat
=
CNNDataFormat.default
)
:
Tensor
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
expandDims
(
axis:
Tensor
)
:
Tensor
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
gather
(
indices:
Tensor
,
axis:
Tensor
=
0
)
:
Tensor
def
gatherND
(
indices:
Tensor
)
:
Tensor
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
invertPermutation
()
:
Tensor
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
listDiff
(
other:
Tensor
,
indicesDataType:
types.DataType
=
INT32
)
: (
Tensor
,
Tensor
)
def
matrixTranspose
(
conjugate:
Boolean
=
false
)
:
Tensor
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
oneHot
(
depth:
Tensor
,
onValue:
Tensor
=
null
,
offValue:
Tensor
=
null
,
axis:
Int
=
1
,
dataType:
types.DataType
=
null
)
:
Tensor
def
pad
(
paddings:
Tensor
,
mode:
ops.Basic.PaddingMode
=
ConstantPadding
)
:
Tensor
def
preventGradient
(
message:
String
=
""
)
:
Tensor
def
reshape
[
T
]
(
shape:
T
)
(
implicit
arg0:
TensorConvertible
[
T
]
)
:
Tensor
def
reverse
(
axes:
Tensor
)
:
Tensor
def
reverseSequence
(
sequenceLengths:
Tensor
,
sequenceAxis:
Int
,
batchAxis:
Int
=
0
)
:
Tensor
def
scatterND
(
updates:
Tensor
,
shape:
Tensor
)
:
Tensor
def
sequenceMask
(
maxLength:
Tensor
=
null
,
dataType:
types.DataType
=
BOOLEAN
)
:
Tensor
def
slice
(
indexers:
core.Indexer
*
)
:
Tensor
def
spaceToBatch
(
blockSize:
Int
,
paddings:
Tensor
)
:
Tensor
def
spaceToBatchND
(
blockShape:
Tensor
,
paddings:
Tensor
)
:
Tensor
def
spaceToDepth
(
blockSize:
Int
,
dataFormat:
CNNDataFormat
=
CNNDataFormat.default
)
:
Tensor
def
split
(
splitSizes:
Tensor
,
axis:
Tensor
=
0
)
:
Seq
[
Tensor
]
def
splitEvenly
(
numSplits:
Int
,
axis:
Tensor
=
0
)
:
Seq
[
Tensor
]
def
squeeze
(
axes:
Seq
[
Int
] =
null
)
:
Tensor
def
stopGradient
()
:
Tensor
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
tensor
:
Tensor
def
tile
(
multiples:
Tensor
)
:
Tensor
def
transpose
(
permutation:
Tensor
=
null
,
conjugate:
Boolean
=
false
)
:
Tensor
def
unique
(
indicesDataType:
types.DataType
=
INT32
)
: (
Tensor
,
Tensor
)
def
uniqueWithCounts
(
indicesDataType:
types.DataType
=
INT32
)
: (
Tensor
,
Tensor
,
Tensor
)
def
unstack
(
number:
Int
=
1
,
axis:
Int
=
0
)
:
Seq
[
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
@throws
(
...
)
def
where
()
:
Tensor
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped