com.intel.analytics.bigdl.utils.caffe

Converter

abstract class Converter[T] extends AnyRef

An abstract class to define interfaces when loading from/to caffe models Caffe supports two kinds of layer definition LayerParameter & V1LayerParameter Implementation V1LayerConverter and LayerConverter V1LayerParameter is not recommended any more but we need to support old-versioned model

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Converter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Converter()(implicit arg0: ClassTag[T], ev: TensorNumeric[T])

Abstract Value Members

  1. abstract def fromCaffeBatchNormalization(layer: GeneratedMessage): Seq[ModuleNode[T]]

    Attributes
    protected
  2. abstract def fromCaffeBias(layer: GeneratedMessage): Seq[ModuleNode[T]]

    Attributes
    protected
  3. abstract def fromCaffeConvolution(layer: GeneratedMessage): Seq[ModuleNode[T]]

    Attributes
    protected
  4. abstract def fromCaffeELU(layer: GeneratedMessage): Seq[ModuleNode[T]]

    Attributes
    protected
  5. abstract def fromCaffeInnerProduct(layer: GeneratedMessage): Seq[ModuleNode[T]]

    Attributes
    protected
  6. abstract def fromCaffeInput(layer: GeneratedMessage): Seq[ModuleNode[T]]

    Attributes
    protected
  7. abstract def fromCaffeReshape(layer: GeneratedMessage): Seq[ModuleNode[T]]

    Attributes
    protected
  8. abstract def fromCaffeScale(layer: GeneratedMessage): Seq[ModuleNode[T]]

    Attributes
    protected
  9. abstract def fromCaffeTile(layer: GeneratedMessage): Seq[ModuleNode[T]]

    Attributes
    protected
  10. abstract def getConcatParam(layer: GeneratedMessage): Option[ConcatParameter]

    Attributes
    protected
  11. abstract def getConvolutionParam(layer: GeneratedMessage): Option[ConvolutionParameter]

    Attributes
    protected
  12. abstract def getDropoutParam(layer: GeneratedMessage): Option[DropoutParameter]

    Attributes
    protected
  13. abstract def getEltWiseParam(layer: GeneratedMessage): Option[EltwiseParameter]

    Attributes
    protected
  14. abstract def getInnerProductParam(layer: GeneratedMessage): Option[InnerProductParameter]

    Attributes
    protected
  15. abstract def getLRNParam(layer: GeneratedMessage): Option[LRNParameter]

    Attributes
    protected
  16. abstract def getLayerName(layer: GeneratedMessage): String

    Attributes
    protected
  17. abstract def getLayerType(layer: GeneratedMessage): String

    Attributes
    protected
  18. abstract def getPoolingParam(layer: GeneratedMessage): Option[PoolingParameter]

    Attributes
    protected
  19. abstract def getPowerParam(layer: GeneratedMessage): Option[PowerParameter]

    Attributes
    protected
  20. abstract def getSliceParam(layer: GeneratedMessage): Option[SliceParameter]

    Attributes
    protected
  21. abstract def getThresholdParam(layer: GeneratedMessage): Option[ThresholdParameter]

    Attributes
    protected
  22. abstract def toCaffeAbs(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  23. abstract def toCaffeAvePooling(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  24. abstract def toCaffeBatchNormalization(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  25. abstract def toCaffeBias(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  26. abstract def toCaffeConcat(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  27. abstract def toCaffeConvolution(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  28. abstract def toCaffeDeConvolution(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  29. abstract def toCaffeDropOut(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  30. abstract def toCaffeEltWiseAdd(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  31. abstract def toCaffeEltWiseMax(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  32. abstract def toCaffeEltWiseSub(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  33. abstract def toCaffeElu(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  34. abstract def toCaffeExp(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  35. abstract def toCaffeFlattern(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  36. abstract def toCaffeInnerProduct(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  37. abstract def toCaffeLRN(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  38. abstract def toCaffeLog(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  39. abstract def toCaffeLogSoftMax(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  40. abstract def toCaffeMaxPooling(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  41. abstract def toCaffePReLu(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  42. abstract def toCaffePower(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  43. abstract def toCaffeRecurrent(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  44. abstract def toCaffeRelu(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  45. abstract def toCaffeReshape(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  46. abstract def toCaffeScale(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  47. abstract def toCaffeSequential(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  48. abstract def toCaffeSigmoid(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  49. abstract def toCaffeSlice(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  50. abstract def toCaffeTanh(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  51. abstract def toCaffeThreshold(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected
  52. abstract def toCaffeTile(module: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

    Attributes
    protected

Concrete 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 ==(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def convertLayerFromCaffe(layer: GeneratedMessage): Seq[ModuleNode[T]]

  9. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def fromCaffeReLU(layer: GeneratedMessage): Seq[ModuleNode[T]]

    Attributes
    protected
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  19. def registerCutomizedConverter(layerType: String, converter: (GeneratedMessage) ⇒ Seq[ModuleNode[T]]): Unit

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toCaffe(moduleNode: AbstractModule[Activity, Activity, T], bottoms: ArrayBuffer[String], nextSize: Int): Seq[GeneratedMessage]

  22. def toCaffeAvgPoolingParam(module: AbstractModule[Activity, Activity, T]): PoolingParameter

    Attributes
    protected
  23. def toCaffeBatchNormParam(module: AbstractModule[Activity, Activity, T]): Double

    Attributes
    protected
  24. def toCaffeConcatParam(module: AbstractModule[Activity, Activity, T]): Int

    Attributes
    protected
  25. def toCaffeConvolutionParam(module: AbstractModule[Activity, Activity, T]): HashMap[String, Int]

    Attributes
    protected
  26. def toCaffeDeConvolutionParam(module: AbstractModule[Activity, Activity, T]): HashMap[String, Int]

    Attributes
    protected
  27. def toCaffeDropOutParam(module: AbstractModule[Activity, Activity, T]): Double

    Attributes
    protected
  28. def toCaffeEluParam(module: AbstractModule[Activity, Activity, T]): ELUParameter

    Attributes
    protected
  29. def toCaffeInnerProductParam(module: AbstractModule[Activity, Activity, T]): (Int, Int, Boolean)

    Attributes
    protected
  30. def toCaffeLRNParam(module: AbstractModule[Activity, Activity, T]): (Int, Double, Double, Double, String)

    Attributes
    protected
  31. def toCaffeMaxPoolingParam(module: AbstractModule[Activity, Activity, T]): PoolingParameter

    Attributes
    protected
  32. def toCaffePowerParam(module: AbstractModule[Activity, Activity, T]): PowerParameter

    Attributes
    protected
  33. def toCaffeReshapeParam(module: AbstractModule[Activity, Activity, T]): ReshapeParameter

    Attributes
    protected
  34. def toCaffeScalaParam(module: AbstractModule[Activity, Activity, T]): BlobShape

    Attributes
    protected
  35. def toCaffeSliceParam(module: AbstractModule[Activity, Activity, T]): SliceParameter

    Attributes
    protected
  36. def toCaffeThresholdParam(module: AbstractModule[Activity, Activity, T]): ThresholdParameter

    Attributes
    protected
  37. def toCaffeTileParam(module: AbstractModule[Activity, Activity, T]): TileParameter

    Attributes
    protected
  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped