Struct prophet::topology::Topology
[−]
[src]
pub struct Topology { /* fields omitted */ }
Represents the neural network topology.
Methods
impl Topology
[src]
fn input(size: usize) -> TopologyBuilder
[src]
fn len_input(&self) -> usize
[src]
Returns the number of input neurons.
Used by mentors to validate their sample sizes.
fn len_output(&self) -> usize
[src]
Returns the number of output neurons.
Used by mentors to validate their sample sizes.
fn iter_layers(&self) -> Iter<Layer>
[src]
Iterates over the layer sizes of this topology.
impl Topology
[src]
fn train(self, samples: Vec<Sample>) -> MentorBuilder
[src]
Iterates over the layer sizes of this Disciple's topology definition.
Trait Implementations
impl Debug for Topology
[src]
impl Clone for Topology
[src]
fn clone(&self) -> Topology
[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 Topology
[src]
fn eq(&self, __arg_0: &Topology) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Topology) -> bool
[src]
This method tests for !=
.