pub enum ComputeNode {
Convolution {
kernel_shape: Vec<usize>,
},
MatMul {
output_shape: Vec<usize>,
},
Activation {
activation_type: String,
},
Constant {
value: f32,
},
Input {
shape: Vec<usize>,
},
Output {
shape: Vec<usize>,
},
}Expand description
Computation node types.
Variants§
Trait Implementations§
Source§impl Clone for ComputeNode
impl Clone for ComputeNode
Source§fn clone(&self) -> ComputeNode
fn clone(&self) -> ComputeNode
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for ComputeNode
impl RefUnwindSafe for ComputeNode
impl Send for ComputeNode
impl Sync for ComputeNode
impl Unpin for ComputeNode
impl UnwindSafe for ComputeNode
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