pub struct IfConfig {
pub then_branch: OnnxGraph,
pub else_branch: OnnxGraph,
pub scope_ref_names: Vec<String>,
}Expand description
Configuration for If operation
Fields§
§then_branch: OnnxGraph§else_branch: OnnxGraph§scope_ref_names: Vec<String>Names of outer-scope references (in order corresponding to inputs[1..]) These are the original sanitized ONNX names that subgraphs reference
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for IfConfig
impl !UnwindSafe for IfConfig
impl Freeze for IfConfig
impl Send for IfConfig
impl Sync for IfConfig
impl Unpin for IfConfig
impl UnsafeUnpin for IfConfig
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