Struct prophet::topology::Layer
[−]
[src]
pub struct Layer { pub inputs: usize, pub outputs: usize, pub activation: Activation, }
Represents the topology element for a fully connected layer with input neurons, output neurons and an activation function.
Fields
inputs: usize
Number of input neurons to this layer.
outputs: usize
Numer of output neurons from this layer.
activation: Activation
Activation function for this layer.
Trait Implementations
impl Debug for Layer
[src]
impl Copy for Layer
[src]
impl Clone for Layer
[src]
fn clone(&self) -> Layer
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Layer
[src]
fn eq(&self, __arg_0: &Layer) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Layer) -> bool
[src]
This method tests for !=
.