empyrean.KernelRecord¶
- class KernelRecord(kind, provenance, path=None, sha256=None, bytes=None, name=None)[source]
Bases:
objectOne entry of the kernel-identity manifest a handle captured at construction. Names the provenance of each loaded data file — never any tuning rationale.
Only the fields the provenance variant supplies are populated; the rest are
None(aFILErecord carriespath/sha256/bytes; aBUILT_INrecord carriesname).Methods
__init__(kind, provenance[, path, sha256, ...])Attributes
bytesHashed file size in bytes (
FILEonly).nameHuman-readable model name (
BUILT_INonly).pathAbsolute path the kernel was loaded from (
FILEonly).sha256Lowercase-hex SHA-256 of the file's bytes, 64 chars (
FILEonly).kindprovenance- Parameters:
- kind: KernelKind
- provenance: KernelProvenance