class RoiImageFeatureToBatchWithResize extends MTImageFeatureToBatch
A transformer pipeline wrapper to create RoiMiniBatch in multiple threads. Image features may have different sizes, so firstly we need to calculate max size in one batch, then padding all features to one batch with max size.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RoiImageFeatureToBatchWithResize
- MTImageFeatureToBatch
- Transformer
- Serializable
- Serializable
- 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
-
def
->[C](other: Transformer[MiniBatch[Float], C]): Transformer[ImageFeature, C]
- Definition Classes
- Transformer
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(prev: Iterator[ImageFeature]): Iterator[MiniBatch[Float]]
- Definition Classes
- MTImageFeatureToBatch → Transformer
-
def
apply(dataset: RDD[ImageFeature])(implicit evidence: ClassTag[MiniBatch[Float]]): RDD[MiniBatch[Float]]
Apply this transformer to rdd
Apply this transformer to rdd
- Definition Classes
- Transformer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
batchSize: Int
- Attributes
- protected
- Definition Classes
- MTImageFeatureToBatch
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
cloneTransformer(): Transformer[ImageFeature, MiniBatch[Float]]
- Definition Classes
- Transformer
-
def
createBatch(batchSize: Int): MiniBatch[Float]
- Attributes
- protected
- Definition Classes
- RoiImageFeatureToBatchWithResize → MTImageFeatureToBatch
-
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
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
parallelism: Int
- Attributes
- protected
- Definition Classes
- MTImageFeatureToBatch
-
def
processImageFeature(img: ImageFeature, position: Int): Unit
- Attributes
- protected
- Definition Classes
- RoiImageFeatureToBatchWithResize → MTImageFeatureToBatch
-
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
- @native() @throws( ... )