fn build_op(&self, name: &str, payload: &ProtoOp) -> TractResult<Box<Op>> {
        match self.op_builder_for_name(name) {
            Some(builder) => builder(payload),
            None => Ok(Box::new(UnimplementedOp::new(name, format!("{:?}", payload)))),
        }
    }
/// Build an op from its representation in the ProtoModel.
///
/// This method stub wraps unknown operations in UnimplementedOp.
Build an op from its representation in the ProtoModel.
This method stub wraps unknown operations in UnimplementedOp.
Build an op from its representation in the ProtoModel . This method stub wraps unknown operations in UnimplementedOp .
fn build_op(&self, name: &str, payload: &ProtoOp) -> TractResult<Box<Op>> {
        match self.op_builder_for_name(name) {
            Some(builder) => builder(payload),
            None => Ok(Box::new(UnimplementedOp::new(name, format!("{:?}", payload)))),
        }
    }
fn build_op ( & self , name : & str , payload : & ProtoOp ) -> TractResult < Box < Op > > { match self . op_builder_for_name ( name ) { Some ( builder ) => builder ( payload ) , None => Ok ( Box :: new ( UnimplementedOp :: new ( name , format ! ( " " payload ) ) ) ) , } }
Build an op from its representation in the ProtoModel.
Build an op from its representation in the ProtoModel .
&self
name
&str
payload
&ProtoOp
&self
name
&str
payload
&ProtoOp