Object

com.intel.analytics.bigdl.utils.serializer

ModuleSerializer

Related Doc: package serializer

Permalink

object ModuleSerializer extends ModuleSerializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ModuleSerializer
  2. ModuleSerializable
  3. Savable
  4. Loadable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. var _copyWeightAndBias: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  5. var abstractModuleType: scala.reflect.api.JavaUniverse.Type

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def attrValueToFloatArray(attr: AttrValue): Array[Float]

    Permalink

    Convert Attr Value object to Array of Float

    Convert Attr Value object to Array of Float

    returns

    Array[Float]

    Attributes
    protected
    Definition Classes
    ModuleSerializable
  8. var boundedModuleType: scala.reflect.api.JavaUniverse.Type

    Permalink
  9. def checkVersion[T](module: BigDLModule)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def copy2BigDL[T](context: DeserializeContext, module: ModuleData[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink

    copy serialized data (weight and bias if exist) to BigDL module

    copy serialized data (weight and bias if exist) to BigDL module

    context

    deserialized context

    module

    bigDL Module with relationships

    Attributes
    protected
    Definition Classes
    ModuleSerializable
  12. def copyFromBigDL[T](context: SerializeContext[T], modelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink

    copy BigDL module data (weight and bias if exist) to BigDL Model to be persisted

    copy BigDL module data (weight and bias if exist) to BigDL Model to be persisted

    context

    serialization context

    modelBuilder

    serialized module builder

    Attributes
    protected
    Definition Classes
    ModuleSerializable
  13. def copyWeightAndBias(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  14. def createBigDLModule[T](context: DeserializeContext, module: AbstractModule[Activity, Activity, T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): ModuleData[T]

    Permalink

    Re-create BigDL module by deserializing protobuf context.

    Re-create BigDL module by deserializing protobuf context.

    context

    Deserialization context

    module

    The BigDL module to be re-created

    returns

    Tuple3 contains information of current module and modules adjacent to it

    Attributes
    protected
    Definition Classes
    ModuleSerializable
  15. def createSerializeBigDLModule[T](modelBuilder: Builder, context: SerializeContext[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): SerializeResult

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  16. def doLoadModule[T](context: DeserializeContext)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): AbstractModule[Activity, Activity, T]

    Permalink

    Default deserialization using reflection

    Default deserialization using reflection

    context

    deserialize context

    returns

    BigDL module

    Attributes
    protected
    Definition Classes
    ModuleSerializable
  17. def doSerializeModule[T](context: SerializeContext[T], bigDLModelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  18. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def getLock: AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  23. def getTypes(context: DeserializeContext): (Array[ClassTag[_]], Array[TensorNumeric[_]])

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  24. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  26. def load[T](context: DeserializeContext)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): ModuleData[T]

    Permalink

    Deserialization entry for all modules based on corresponding module type

    Deserialization entry for all modules based on corresponding module type

    context

    : context for deserialization

    returns

    BigDL module

  27. def loadModule[T](context: DeserializeContext)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): ModuleData[T]

    Permalink

    Default deserialization to provide the template

    Default deserialization to provide the template

    returns

    BigDL module instance with linkages with other modules

    Definition Classes
    ModuleSerializableLoadable
  28. val lock: AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  29. var moduleType: scala.reflect.api.JavaUniverse.Type

    Permalink
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. def registerGroupModules(superModuleType: String, groupSerializer: ModuleSerializable): Unit

    Permalink

    register module for modules of the same type, used for standard BigDL module and user defined module

    register module for modules of the same type, used for standard BigDL module and user defined module

    groupSerializer

    serialzable implementation for this module

  34. def registerModule(moduleType: String, serializer: ModuleSerializable): Unit

    Permalink

    register module for single module, used for standard BigDL module and user defined module

    register module for single module, used for standard BigDL module and user defined module

    serializer

    serialzable implementation for this module

  35. var regularizerType: scala.reflect.api.JavaUniverse.Type

    Permalink
  36. def saveMklInt8Attr[T](module: MklInt8Convertible, modelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink

    Serialize and save MKL DNN INT8 attributes into BigDL Model of protobuf definition

    Serialize and save MKL DNN INT8 attributes into BigDL Model of protobuf definition

    modelBuilder

    serialized module builder

    Attributes
    protected
    Definition Classes
    ModuleSerializable
  37. def serialize[T](serializerContext: SerializeContext[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): SerializeResult

    Permalink

    Serialization entry for all modules based on corresponding class instance of module

    Serialization entry for all modules based on corresponding class instance of module

    serializerContext

    : serialization context

    returns

    protobuf format module instance

  38. def serializeModule[T](context: SerializeContext[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): SerializeResult

    Permalink

    Default serialization skeleton using reflection

    Default serialization skeleton using reflection

    context

    Serialization context

    returns

    serialized protobuf module instace

    Definition Classes
    ModuleSerializableSavable
  39. def setCopyWeightAndBias(copyWeightAndBias: Boolean): ModuleSerializer.this.type

    Permalink
    Definition Classes
    ModuleSerializable
  40. def setDataTypes[T](context: SerializeContext[T], bigDLModelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  41. def setVersion[T](modelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. var tType: scala.reflect.api.JavaUniverse.Type

    Permalink
  44. var tensorModuleType: scala.reflect.api.JavaUniverse.Type

    Permalink
  45. var tensorNumericType: scala.reflect.api.JavaUniverse.Type

    Permalink
  46. var tensorType: scala.reflect.api.JavaUniverse.Type

    Permalink
  47. def toString(): String

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

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

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

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

Inherited from ModuleSerializable

Inherited from Savable

Inherited from Loadable

Inherited from AnyRef

Inherited from Any

Ungrouped