ml.combust.bundle.serializer

BundleRegistry

case class BundleRegistry() extends HasBundleRegistry with Product with Serializable

Class for storing all supported ml.combust.bundle.op.OpNode and ml.combust.bundle.serializer.custom.CustomType objects.

This is the primary registry for Bundle.ML. It contains all objects required for serializing ML models, graph nodes and custom types.

Many serialization calls in Bundle.ML require access to the registry for information on how to serialize custom types or models or nodes.

Linear Supertypes
Serializable, Serializable, Product, Equals, HasBundleRegistry, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BundleRegistry
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HasBundleRegistry
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BundleRegistry()

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. def apply[N, M](op: String): OpNode[N, M]

    Get an op node by name.

    Get an op node by name.

    N

    class of op

    M

    model class of op

    op

    name of op

    returns

    op node type class for given name

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def bundleRegistry: BundleRegistry

    Get the bundle registry.

    Get the bundle registry.

    returns

    bundle registry

    Definition Classes
    BundleRegistryHasBundleRegistry
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def custom[T](name: String): CustomType[T]

    Get custom type by name.

    Get custom type by name.

    T

    type of custom object

    name

    name of custom object

    returns

    custom object type class

  11. def customForClass[T](implicit arg0: ClassTag[T]): CustomType[T]

    Get custom type for a class.

    Get custom type for a class.

    T

    type of custom object

    returns

    custom object type class

  12. def customForObj[T](obj: Any): CustomType[T]

    Get custom type for an object.

    Get custom type for an object.

    T

    type of custom object

    obj

    custom object

    returns

    custom object type class

  13. var customTypeAlias: Map[String, String]

  14. var customTypes: Map[String, CustomType[_]]

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

    Definition Classes
    AnyRef
  16. def finalize(): Unit

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

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

    Definition Classes
    Any
  19. def model[M](op: String): OpModel[M]

    Get a model for a name.

    Get a model for a name.

    M

    model class of op

    op

    name of op

    returns

    model type class for given name

  20. var modelAlias: Map[String, String]

  21. def modelForObj[M](obj: Any): OpModel[M]

    Get a model for an object.

    Get a model for an object.

    M

    model class

    obj

    model object

    returns

    model type class for given object

  22. var models: Map[String, OpModel[_]]

  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. var opAlias: Map[String, String]

  27. def opForObj[N, M](obj: N): OpNode[N, M]

    Get an op node for an object.

    Get an op node for an object.

    N

    class of op

    M

    model class of op

    obj

    node object

    returns

    op node type class for given object

  28. var ops: Map[String, OpNode[_, _]]

  29. def register[T](c: CustomType[T])(implicit arg0: ClassTag[T]): BundleRegistry.this.type

    Register a custom type for serialization/deserialization.

    Register a custom type for serialization/deserialization.

    T

    type of the custom type

    c

    custom type type class

    returns

    this

  30. def register[N, M](op: OpNode[N, M])(implicit arg0: ClassTag[N], arg1: ClassTag[M]): BundleRegistry.this.type

    Register an op node for serialization/deserialization.

    Register an op node for serialization/deserialization.

    This will register the underlying model type class as well.

    N

    type of the op node

    M

    type of the underlying model

    op

    op node type class

    returns

    this

  31. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HasBundleRegistry

Inherited from AnyRef

Inherited from Any

Ungrouped