pub struct GraphJson {
pub format: String,
pub version: u32,
pub name: Option<String>,
pub quantized: bool,
pub inputs: BTreeMap<String, OperandDesc>,
pub consts: BTreeMap<String, ConstDecl>,
pub nodes: Vec<Node>,
pub outputs: BTreeMap<String, String>,
}Fields§
§format: String§version: u32§name: Option<String>§quantized: bool§inputs: BTreeMap<String, OperandDesc>§consts: BTreeMap<String, ConstDecl>§nodes: Vec<Node>§outputs: BTreeMap<String, String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphJson
impl<'de> Deserialize<'de> for GraphJson
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GraphJson
impl RefUnwindSafe for GraphJson
impl Send for GraphJson
impl Sync for GraphJson
impl Unpin for GraphJson
impl UnsafeUnpin for GraphJson
impl UnwindSafe for GraphJson
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