pub struct MultiboxModelRecordItem<B: Backend, S: PrecisionSettings> {
pub stem: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>,
pub blocks: <<Vec<Linear<B>> as Module<B>>::Record as Record<B>>::Item<S>,
pub box_head: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>,
pub score_head: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>,
pub max_boxes: <<usize as Module<B>>::Record as Record<B>>::Item<S>,
pub input_dim: <<usize as Module<B>>::Record as Record<B>>::Item<S>,
}Expand description
The record item type for the module.
Fields§
§stem: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
blocks: <<Vec<Linear<B>> as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
box_head: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
score_head: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
max_boxes: <<usize as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
input_dim: <<usize as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
Trait Implementations§
Source§impl<B: Backend, S: PrecisionSettings> Clone for MultiboxModelRecordItem<B, S>
impl<B: Backend, S: PrecisionSettings> Clone for MultiboxModelRecordItem<B, S>
Source§impl<'de, B: Backend, S: PrecisionSettings> Deserialize<'de> for MultiboxModelRecordItem<B, S>
impl<'de, B: Backend, S: PrecisionSettings> Deserialize<'de> for MultiboxModelRecordItem<B, S>
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
Source§impl<B: Backend, S: PrecisionSettings> Serialize for MultiboxModelRecordItem<B, S>
impl<B: Backend, S: PrecisionSettings> Serialize for MultiboxModelRecordItem<B, S>
Auto Trait Implementations§
impl<B, S> Freeze for MultiboxModelRecordItem<B, S>
impl<B, S> !RefUnwindSafe for MultiboxModelRecordItem<B, S>
impl<B, S> Send for MultiboxModelRecordItem<B, S>
impl<B, S> Sync for MultiboxModelRecordItem<B, S>
impl<B, S> Unpin for MultiboxModelRecordItem<B, S>
impl<B, S> !UnwindSafe for MultiboxModelRecordItem<B, S>
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