Optionalinitial: Map<string, Uint8Array<ArrayBufferLike>> | Map<string, { Bytes: Uint8Array }>optional seed: either a plain fileId → bytes map, or a
training InMemoryArtifactStore.Saved-shaped map (fileId → { Bytes }).
Fetch the serialized artifact bytes previously stored under fileId.
the MLModel.ArtifactFileID value
the acting user the file row is read as (required: a call site without one is a compile error)
the provider the file row is read through (required: no fallback to the global provider)
the artifact bytes, or null when not found
Register artifact bytes under a file id (test setup convenience).
In-memory IArtifactLoader for unit tests. Holds artifact bytes keyed by file id and returns them on load. No database, no MJStorage.
Bridges the training-side
InMemoryArtifactStore: pass itsSavedmap (keyed by the returned file id, with{ Bytes }) so a model trained in-memory is directly loadable for scoring in the same test.