pub struct NeckConfig {
pub in_channels: Vec<usize>,
pub out_channels: usize,
pub kernel_size: usize,
}Expand description
颈部和头的配置(config.json 顶层)。
Fields§
§in_channels: Vec<usize>§out_channels: usize§kernel_size: usizeImplementations§
Source§impl NeckConfig
impl NeckConfig
Trait Implementations§
Source§impl Clone for NeckConfig
impl Clone for NeckConfig
Auto Trait Implementations§
impl Forget for NeckConfig
impl Freeze for NeckConfig
impl Move for NeckConfig
impl RefUnwindSafe for NeckConfig
impl Send for NeckConfig
impl Sync for NeckConfig
impl Unpin for NeckConfig
impl UnsafeUnpin for NeckConfig
impl UnwindSafe for NeckConfig
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