pub struct ExportResult {
pub weights_path: PathBuf,
pub weights_paths: BTreeMap<String, PathBuf>,
pub metadata_path: Option<PathBuf>,
pub source_sha256: String,
pub tensor_count: usize,
pub total_tensor_bytes: usize,
}Fields§
§weights_path: PathBuf§weights_paths: BTreeMap<String, PathBuf>§metadata_path: Option<PathBuf>§source_sha256: String§tensor_count: usize§total_tensor_bytes: usizeTrait Implementations§
Source§impl Clone for ExportResult
impl Clone for ExportResult
Source§fn clone(&self) -> ExportResult
fn clone(&self) -> ExportResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExportResult
impl Debug for ExportResult
Auto Trait Implementations§
impl Freeze for ExportResult
impl RefUnwindSafe for ExportResult
impl Send for ExportResult
impl Sync for ExportResult
impl Unpin for ExportResult
impl UnsafeUnpin for ExportResult
impl UnwindSafe for ExportResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more