Class/Object

ml.combust.bundle

BundleRegistry

Related Docs: object BundleRegistry | package bundle

Permalink

case class BundleRegistry extends HasBundleRegistry with Product with Serializable

Class for storing all supported ml.combust.bundle.op.OpNode and ml.combust.bundle.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
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. def apply[Context, N, M](op: String): OpNode[Context, N, M]

    Permalink

    Get an op node by name.

    Get an op node by name.

    Context

    context for implementation

    N

    class of op

    M

    model class of op

    op

    name of op

    returns

    op node type class for given name

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bundleRegistry: BundleRegistry

    Permalink

    Get the bundle registry.

    Get the bundle registry.

    returns

    bundle registry

    Definition Classes
    BundleRegistryHasBundleRegistry
  7. val classLoader: ClassLoader

    Permalink

    class loader used to create this registry

  8. def clone(): AnyRef

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

    Permalink

    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

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

    Permalink

    Get custom type for a class.

    Get custom type for a class.

    T

    type of custom object

    returns

    custom object type class

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

    Permalink

    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

  12. var customTypeAlias: Map[String, String]

    Permalink
  13. var customTypes: Map[String, CustomType[_]]

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  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. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def model[Context, M](op: String): OpModel[Context, M]

    Permalink

    Get a model for a name.

    Get a model for a name.

    Context

    context for implementation

    M

    model class of op

    op

    name of op

    returns

    model type class for given name

  19. var modelAlias: Map[String, String]

    Permalink
  20. def modelForObj[Context, M](obj: Any): OpModel[Context, M]

    Permalink

    Get a model for an object.

    Get a model for an object.

    Context

    context for implementation

    M

    model class

    obj

    model object

    returns

    model type class for given object

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. var opAlias: Map[String, String]

    Permalink
  26. def opForObj[Context, N, M](obj: N): OpNode[Context, N, M]

    Permalink

    Get an op node for an object.

    Get an op node for an object.

    Context

    context for implementation

    N

    class of op

    M

    model class of op

    obj

    node object

    returns

    op node type class for given object

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

    Permalink
  28. def register[T](c: CustomType[T]): BundleRegistry.this.type

    Permalink

    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

  29. def register[Context, N, M](op: OpNode[Context, N, M]): BundleRegistry.this.type

    Permalink

    Register an op node for serialization/deserialization.

    Register an op node for serialization/deserialization.

    This will register the underlying model type class as well.

    Context

    context for implementation

    N

    type of the op node

    M

    type of the underlying model

    op

    op node type class

    returns

    this

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

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

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

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

    Permalink
    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