com.intel.analytics.bigdl.utils.serializer

ModuleSerializable

trait ModuleSerializable extends Loadable with Savable

ModuleSerializable trait inherits Loadable and Savable traits for module serialization it provides default implementation from ModuleSerializer using reflection

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

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 checkVersion[T](module: BigDLModule)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Attributes
    protected
  8. def clone(): AnyRef

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

    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
  10. def copyFromBigDL[T](context: SerializeContext[T], modelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    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
  11. def createBigDLModule[T](context: DeserializeContext, module: AbstractModule[Activity, Activity, T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): ModuleData[T]

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

    Attributes
    protected
  13. def doLoadModule[T](context: DeserializeContext)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): AbstractModule[Activity, Activity, T]

    Default deserialization using reflection

    Default deserialization using reflection

    context

    deserialize context

    returns

    BigDL module

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

    Attributes
    protected
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Default deserialization to provide the template

    Default deserialization to provide the template

    returns

    BigDL module instance with linkages with other modules

    Definition Classes
    ModuleSerializableLoadable
  22. val lock: AnyRef

    Attributes
    protected
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  26. def serializeModule[T](context: SerializeContext[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): SerializeResult

    Default serialization skeleton using reflection

    Default serialization skeleton using reflection

    context

    Serialization context

    returns

    serialized protobuf module instace

    Definition Classes
    ModuleSerializableSavable
  27. def setVersion[T](modelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

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

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Savable

Inherited from Loadable

Inherited from AnyRef

Inherited from Any

Ungrouped