[−][src]Trait tract_onnx::pb_helpers::AttrTVecType
Required methods
fn get_attr_opt_tvec(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
Implementations on Foreign Types
impl<'a> AttrTVecType<'a> for i8
[src]
fn get_attr_opt_tvec(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
[src]
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
impl<'a> AttrTVecType<'a> for i16
[src]
fn get_attr_opt_tvec(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
[src]
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
impl<'a> AttrTVecType<'a> for i32
[src]
fn get_attr_opt_tvec(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
[src]
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
impl<'a> AttrTVecType<'a> for isize
[src]
fn get_attr_opt_tvec(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
[src]
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
impl<'a> AttrTVecType<'a> for &'a str
[src]
fn get_attr_opt_tvec(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
[src]
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
impl<'a> AttrTVecType<'a> for String
[src]
fn get_attr_opt_tvec(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
[src]
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
impl<'a> AttrTVecType<'a> for bool
[src]
fn get_attr_opt_tvec(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
[src]
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
impl<'a> AttrTVecType<'a> for usize
[src]
fn get_attr_opt_tvec(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
[src]
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
Implementors
impl<'a> AttrTVecType<'a> for Tensor
[src]
fn get_attr_opt_tvec(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
[src]
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
impl<'a, T> AttrTVecType<'a> for T where
T: AttrSliceType<'a> + Clone,
[src]
T: AttrSliceType<'a> + Clone,
fn get_attr_opt_tvec(
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>
[src]
node: &'a NodeProto,
name: &str
) -> TractResult<Option<TVec<Self>>>