[−][src]Trait tract_onnx::pb_helpers::AttrSliceType
Required methods
fn get_attr_opt_slice(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<&'a [Self]>>
node: &'a NodeProto,
name: &str
) -> TractResult<Option<&'a [Self]>>
Implementations on Foreign Types
impl<'a> AttrSliceType<'a> for Vec<u8>
[src]
fn get_attr_opt_slice(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<&'a [Self]>>
[src]
node: &'a NodeProto,
name: &str
) -> TractResult<Option<&'a [Self]>>
impl<'a> AttrSliceType<'a> for i64
[src]
fn get_attr_opt_slice(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<&'a [Self]>>
[src]
node: &'a NodeProto,
name: &str
) -> TractResult<Option<&'a [Self]>>
impl<'a> AttrSliceType<'a> for f32
[src]
fn get_attr_opt_slice(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<&'a [Self]>>
[src]
node: &'a NodeProto,
name: &str
) -> TractResult<Option<&'a [Self]>>