pub struct OnnxExportOptions {
pub opset_version: i64,
pub include_metadata: bool,
pub producer_name: String,
pub model_version: i64,
}Expand description
Export options for ONNX format.
Fields§
§opset_version: i64ONNX opset version to target (default: 13)
include_metadata: boolInclude metadata in export
producer_name: StringProducer name
model_version: i64Model version
Trait Implementations§
Source§impl Clone for OnnxExportOptions
impl Clone for OnnxExportOptions
Source§fn clone(&self) -> OnnxExportOptions
fn clone(&self) -> OnnxExportOptions
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 OnnxExportOptions
impl Debug for OnnxExportOptions
Auto Trait Implementations§
impl Freeze for OnnxExportOptions
impl RefUnwindSafe for OnnxExportOptions
impl Send for OnnxExportOptions
impl Sync for OnnxExportOptions
impl Unpin for OnnxExportOptions
impl UnwindSafe for OnnxExportOptions
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