Trait burn::record::BytesRecorder

pub trait BytesRecorder<B>: Recorder<B, RecordArgs = (), RecordOutput = Vec<u8>, LoadArgs = Vec<u8>>
where B: Backend,
{ }
Expand description

Recorder trait specialized to save and load data to and from bytes.

§Notes

This is especially useful in no_std environment where weights are stored directly in compiled binaries.

Object Safety§

This trait is not object safe.

Implementors§