case class BundleRegistry extends HasBundleRegistry with Product with Serializable
Class for storing all supported ml.combust.bundle.op.OpNode 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.
- Alphabetic
- By Inheritance
- BundleRegistry
- Serializable
- Serializable
- Product
- Equals
- HasBundleRegistry
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[Context, N, M](op: String): OpNode[Context, N, M]
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bundleRegistry: BundleRegistry
Get the bundle registry.
Get the bundle registry.
- returns
bundle registry
- Definition Classes
- BundleRegistry → HasBundleRegistry
- val classLoader: ClassLoader
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
fileSystemForUri(uri: URI): BundleFileSystem
Get the bundle file system for a URI.
Get the bundle file system for a URI.
- uri
uri of the bundle in the file system
- returns
the file system
- var fileSystems: Map[String, BundleFileSystem]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getFileSystemForUri(uri: URI): Option[BundleFileSystem]
Get the bundle file system for a URI.
Get the bundle file system for a URI.
- uri
uri of the bundle in the file system
- returns
the file system
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
model[Context, M](op: String): OpModel[Context, M]
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
- var modelAlias: Map[String, String]
-
def
modelForObj[Context, M](obj: Any): OpModel[Context, M]
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
- var models: Map[String, OpModel[_, _]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- var opAlias: Map[String, String]
-
def
opForObj[Context, N, M](obj: N): OpNode[Context, N, M]
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
- var ops: Map[String, OpNode[_, _, _]]
-
def
register[Context, N, M](op: OpNode[Context, N, 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.
- Context
context for implementation
- N
type of the op node
- M
type of the underlying model
- op
op node type class
- returns
this
-
def
registerFileSystem(fileSystem: BundleFileSystem): BundleRegistry.this.type
Register a file system for loading/saving bundles.
Register a file system for loading/saving bundles.
- fileSystem
file system to register
- returns
this
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated