com
.
intel
.
analytics
.
bigdl
.
transform
.
vision
.
image
ImageFeatureToMiniBatch
class
ImageFeatureToMiniBatch
[
T
]
extends
Transformer
[
ImageFeature
,
MiniBatch
[
T
]]
Linear Supertypes
Transformer
[
ImageFeature
,
MiniBatch
[
T
]],
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
ImageFeatureToMiniBatch
Transformer
Serializable
Serializable
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
ImageFeatureToMiniBatch
(
batchSize:
Int
,
featurePaddingParam:
Option
[
PaddingParam
[
T
]] =
scala.None
,
labelPaddingParam:
Option
[
PaddingParam
[
T
]] =
scala.None
,
partitionNum:
Option
[
Int
] =
scala.None
,
sampleKey:
String
=
ImageFeature.sample
)
(
implicit
arg0:
ClassTag
[
T
]
,
ev:
TensorNumeric
[
T
]
)
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
def
->
[
C
]
(
other:
Transformer
[
MiniBatch
[
T
],
C
]
)
:
Transformer
[
ImageFeature
,
C
]
Definition Classes
Transformer
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
apply
(
prev:
Iterator
[
ImageFeature
]
)
:
Iterator
[
MiniBatch
[
T
]]
Definition Classes
ImageFeatureToMiniBatch
→
Transformer
def
apply
(
dataset:
RDD
[
ImageFeature
]
)
(
implicit
evidence:
ClassTag
[
MiniBatch
[
T
]]
)
:
RDD
[
MiniBatch
[
T
]]
Apply this transformer to rdd
Apply this transformer to rdd
dataset
Definition Classes
Transformer
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
cloneTransformer
()
:
Transformer
[
ImageFeature
,
MiniBatch
[
T
]]
Definition Classes
Transformer
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
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
toBatch
:
SampleToMiniBatch
[
T
]
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
Transformer
[
ImageFeature
,
MiniBatch
[
T
]]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped