Trait

com.intel.analytics.bigdl.nn.quantized

QuantSerializer

Related Doc: package quantized

Permalink

trait QuantSerializer extends ModuleSerializable

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

Abstract Value Members

  1. abstract def loadWeight[T](context: DeserializeContext, module: ModuleData[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink
  2. abstract def serializeWeight[T](context: SerializeContext[T], modelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. 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
    QuantSerializerModuleSerializable
  8. 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
    QuantSerializerModuleSerializable
  9. def createBigDLModule[T](context: DeserializeContext, module: AbstractModule[Activity, Activity, T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): ModuleData[T]

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  19. def loadBias[T](context: DeserializeContext, moduleData: ModuleData[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink
  20. 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
  21. def loadOthers[T](context: DeserializeContext, module: ModuleData[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

    Permalink
  22. val lock: AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleSerializable
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def serializeBias[T](context: SerializeContext[T], modelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

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

    Permalink
  29. def setVersion[T](modelBuilder: Builder)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Unit

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

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. 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