com.intel.analytics.bigdl.dlframes

DLImageTransformer

class DLImageTransformer extends DLTransformerBase[Nothing] with HasInputCol with HasOutputCol

Provides DataFrame-based API for image pre-processing and feature transformation. DLImageTransformer follows the Spark Transformer API pattern and can be used as one stage in Spark ML pipeline.

The input column can be either DLImageSchema.byteSchema or DLImageSchema.floatSchema. If using DLImageReader, the default format is DLImageSchema.byteSchema The output column is always DLImageSchema.floatSchema.

Linear Supertypes
HasOutputCol, HasOutputCol, HasInputCol, HasInputCol, DLTransformerBase[Nothing], Model[Nothing], Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DLImageTransformer
  2. HasOutputCol
  3. HasOutputCol
  4. HasInputCol
  5. HasInputCol
  6. DLTransformerBase
  7. Model
  8. Transformer
  9. PipelineStage
  10. Logging
  11. Params
  12. Serializable
  13. Serializable
  14. Identifiable
  15. AnyRef
  16. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DLImageTransformer(transformer: FeatureTransformer)

  2. new DLImageTransformer(transformer: Transformer[ImageFeature, ImageFeature], uid: String)

    transformer

    Single or a sequence of BigDL FeatureTransformers to be used. E.g. Resize(256, 256) -> CenterCrop(224, 224) -> ChannelNormalize(123, 117, 104, 1, 1, 1) -> MatToTensor()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def $[T](param: Param[T]): T

    Attributes
    protected
    Definition Classes
    Params
  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. final def clear(param: Param[_]): DLImageTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def copy(extra: ParamMap): Nothing

    Definition Classes
    DLTransformerBase → Model → Transformer → PipelineStage → Params
  11. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Attributes
    protected
    Definition Classes
    Params
  12. final def defaultCopy[T <: Params](extra: ParamMap): T

    Attributes
    protected
    Definition Classes
    Params
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def explainParam(param: Param[_]): String

    Definition Classes
    Params
  16. def explainParams(): String

    Definition Classes
    Params
  17. final def extractParamMap(): ParamMap

    Definition Classes
    Params
  18. final def extractParamMap(extra: ParamMap): ParamMap

    Definition Classes
    Params
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def get[T](param: Param[T]): Option[T]

    Definition Classes
    Params
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. final def getDefault[T](param: Param[T]): Option[T]

    Definition Classes
    Params
  23. final def getInputCol: String

    Definition Classes
    HasInputCol
  24. final def getOrDefault[T](param: Param[T]): T

    Definition Classes
    Params
  25. final def getOutputCol: String

    Definition Classes
    HasOutputCol
  26. def getParam(paramName: String): Param[Any]

    Definition Classes
    Params
  27. final def hasDefault[T](param: Param[T]): Boolean

    Definition Classes
    Params
  28. def hasParam(paramName: String): Boolean

    Definition Classes
    Params
  29. def hasParent: Boolean

    Definition Classes
    Model
  30. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  31. final val inputCol: Param[String]

    Definition Classes
    HasInputCol
  32. def internalTransform(dataFrame: DataFrame): DataFrame

    Attributes
    protected
    Definition Classes
    DLImageTransformer → DLTransformerBase
  33. final def isDefined(param: Param[_]): Boolean

    Definition Classes
    Params
  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. final def isSet(param: Param[_]): Boolean

    Definition Classes
    Params
  36. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  37. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  38. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  39. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  40. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  41. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  42. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  43. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  44. def logName: String

    Attributes
    protected
    Definition Classes
    Logging
  45. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  46. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  47. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  48. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  49. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  50. final def notify(): Unit

    Definition Classes
    AnyRef
  51. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  52. final val outputCol: Param[String]

    Definition Classes
    HasOutputCol
  53. lazy val params: Array[Param[_]]

    Definition Classes
    Params
  54. var parent: Estimator[Nothing]

    Definition Classes
    Model
  55. final def set(paramPair: ParamPair[_]): DLImageTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  56. final def set(param: String, value: Any): DLImageTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  57. final def set[T](param: Param[T], value: T): DLImageTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  58. final def setDefault(paramPairs: ParamPair[_]*): DLImageTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  59. final def setDefault[T](param: Param[T], value: T): DLImageTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  60. def setInputCol(value: String): DLImageTransformer.this.type

  61. def setOutputCol(value: String): DLImageTransformer.this.type

  62. def setParent(parent: Estimator[Nothing]): Nothing

    Definition Classes
    Model
  63. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  64. def toString(): String

    Definition Classes
    Identifiable → AnyRef → Any
  65. def transform(dataFrame: DataFrame): DataFrame

    Definition Classes
    DLTransformerBase → Transformer
  66. def transform(dataset: DataFrame, paramMap: ParamMap): DataFrame

    Definition Classes
    Transformer
  67. def transform(dataset: DataFrame, firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame

    Definition Classes
    Transformer
    Annotations
    @varargs()
  68. def transformSchema(schema: StructType): StructType

    Definition Classes
    DLImageTransformer → PipelineStage
  69. def transformSchema(schema: StructType, logging: Boolean): StructType

    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  70. val transformer: Transformer[ImageFeature, ImageFeature]

    Single or a sequence of BigDL FeatureTransformers to be used.

    Single or a sequence of BigDL FeatureTransformers to be used. E.g. Resize(256, 256) -> CenterCrop(224, 224) -> ChannelNormalize(123, 117, 104, 1, 1, 1) -> MatToTensor()

  71. val uid: String

    Definition Classes
    DLImageTransformer → Identifiable
  72. def validateInputType(inputType: DataType): Unit

    Attributes
    protected
  73. def validateParams(): Unit

    Definition Classes
    Params
  74. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HasOutputCol

Inherited from HasOutputCol

Inherited from HasInputCol

Inherited from HasInputCol

Inherited from DLTransformerBase[Nothing]

Inherited from Model[Nothing]

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped