Class

com.intel.analytics.bigdl.utils.caffe

Converter

Related Doc: package caffe

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Abstract Value Members

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
  10. abstract def getBlob(layer: GeneratedMessage, ind: Int): Option[BlobProto]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

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

    Permalink
  18. def sanityBlobCheck(layer: GeneratedMessage, blobInfo: String, blob: Option[BlobProto]): Unit

    Permalink
    Attributes
    protected
  19. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
  37. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped