pub struct BlobInfo {
pub name: String,
pub dims: i32,
pub w: i32,
pub h: i32,
pub d: i32,
pub c: i32,
pub producer: i32,
pub consumer: i32,
}Expand description
One blob of a loaded network.
A blob that ncnn could not infer keeps dims at zero and zero extents, which happens when the
parameter text carries no shape hint and no layer produced a shape yet.
Fields§
§name: StringBlob name from the parameter text.
dims: i32Shape hint rank.
w: i32Width extent.
h: i32Height extent.
d: i32Depth extent.
c: i32Channel extent.
producer: i32Index of the layer that produces this blob, or -1 for a graph input.
consumer: i32Index of the first layer that consumes this blob.
Implementations§
Trait Implementations§
impl Eq for BlobInfo
impl StructuralPartialEq for BlobInfo
Auto Trait Implementations§
impl Freeze for BlobInfo
impl RefUnwindSafe for BlobInfo
impl Send for BlobInfo
impl Sync for BlobInfo
impl Unpin for BlobInfo
impl UnsafeUnpin for BlobInfo
impl UnwindSafe for BlobInfo
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