c
com.intel.analytics.bigdl.transform.vision.image.augmentation
RandomTransformer
Companion object RandomTransformer
class RandomTransformer extends FeatureTransformer
It is a wrapper for transformers to control the transform probability
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RandomTransformer
- FeatureTransformer
- Transformer
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
RandomTransformer(transformer: FeatureTransformer, maxProb: Double)
- transformer
transformer to apply randomness
- maxProb
max prob
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
->[C](other: Transformer[ImageFeature, C]): Transformer[ImageFeature, C]
- Definition Classes
- FeatureTransformer → Transformer
-
def
->(other: FeatureTransformer): FeatureTransformer
- Definition Classes
- FeatureTransformer
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(imageFrame: ImageFrame): ImageFrame
- Definition Classes
- FeatureTransformer
-
def
apply(prev: Iterator[ImageFeature]): Iterator[ImageFeature]
- Definition Classes
- FeatureTransformer → Transformer
-
def
apply(dataset: RDD[ImageFeature])(implicit evidence: ClassTag[ImageFeature]): RDD[ImageFeature]
Apply this transformer to rdd
Apply this transformer to rdd
- Definition Classes
- Transformer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
cloneTransformer(): Transformer[ImageFeature, ImageFeature]
- Definition Classes
- Transformer
-
def
enableIgnoreException(): RandomTransformer.this.type
catch the exception of the transformer to avoid crashing.
catch the exception of the transformer to avoid crashing.
- Definition Classes
- FeatureTransformer
-
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()
-
def
setOutKey(key: String): RandomTransformer.this.type
set the output key to store current transformed result if the key is not set, or same as default, then the transformed result will be overwritted by the following transformer
set the output key to store current transformed result if the key is not set, or same as default, then the transformed result will be overwritted by the following transformer
- key
output key
- Definition Classes
- FeatureTransformer
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- RandomTransformer → AnyRef → Any
-
def
transform(prev: ImageFeature): ImageFeature
transform feature
-
def
transformMat(feature: ImageFeature): Unit
transform mat
transform mat
- Attributes
- protected
- Definition Classes
- FeatureTransformer
-
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( ... )