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§
Source§impl Clone for DeepFusionLayer
impl Clone for DeepFusionLayer
Source§fn clone(&self) -> DeepFusionLayer
fn clone(&self) -> DeepFusionLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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