pub enum DeepFusionLayer {
Signal {
signals: Vec<OperatorTree>,
},
Propagate {
edge_label: Option<String>,
aggregation: DeepFusionAggregation,
direction: Direction,
},
Conv {
edge_label: Option<String>,
hop_weights: Vec<f64>,
direction: Direction,
},
Pool {
edge_label: Option<String>,
pool_size: usize,
method: DeepFusionPoolMethod,
direction: Direction,
},
Flatten,
Dense {
weights: Vec<f64>,
bias: Vec<f64>,
output_channels: usize,
input_channels: usize,
},
Softmax,
BatchNorm {
epsilon: f64,
},
Dropout {
probability: f64,
},
}Expand description
Layer in a OperatorTree::DeepFusion pipeline.
Variants§
Signal
Fields
§
signals: Vec<OperatorTree>Propagate
Conv
Fields
Pool
Fields
§
method: DeepFusionPoolMethodFlatten
Dense
Fields
Softmax
BatchNorm
Dropout
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DeepFusionLayer
impl !UnwindSafe for DeepFusionLayer
impl Freeze for DeepFusionLayer
impl Send for DeepFusionLayer
impl Sync for DeepFusionLayer
impl Unpin for DeepFusionLayer
impl UnsafeUnpin for DeepFusionLayer
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