com.intel.analytics.bigdl.utils.serializer

ModuleSerializer

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

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

  8. final def asInstanceOf[T0]: T0

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

    Convert Attr Value object to Array of Float

    Convert Attr Value object to Array of Float

    returns

    Array[Float]

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. 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
    Definition Classes
    ModuleSerializable
  14. 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
    Definition Classes
    ModuleSerializable
  15. def copyWeightAndBias(): Boolean

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

    Re-create BigDL module by deserializing protobuf context.

    Re-create BigDL module by deserializing protobuf context.

    T
    context

    Deserialization context

    module

    The BigDL module to be re-created

    ev
    returns

    Tuple3 contains information of current module and modules adjacent to it

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

    Attributes
    protected
    Definition Classes
    ModuleSerializable
  18. 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
    Definition Classes
    ModuleSerializable
  19. def doSerializeModule[T](context: SerializeContext[T], bigDLModelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

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

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

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

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

    Definition Classes
    AnyRef → Any
  24. def getLock: AnyRef

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

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

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

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

    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

  29. 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
  30. val lock: AnyRef

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

  32. final def ne(arg0: AnyRef): Boolean

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

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

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

    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

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

    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

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

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

    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
  39. def serialize[T](serializerContext: SerializeContext[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): SerializeResult

    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

  40. 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
  41. def setCopyWeightAndBias(copyWeightAndBias: Boolean): ModuleSerializer.this.type

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

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

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

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

  46. var tensorModuleType: scala.reflect.api.JavaUniverse.Type

  47. var tensorNumericType: scala.reflect.api.JavaUniverse.Type

  48. var tensorType: scala.reflect.api.JavaUniverse.Type

  49. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ModuleSerializable

Inherited from Savable

Inherited from Loadable

Inherited from AnyRef

Inherited from Any

Ungrouped