Struct prophet::topology::Topology [] [src]

pub struct Topology { /* fields omitted */ }

Represents the neural network topology.

Methods

impl Topology
[src]

[src]

Creates a new topology.

Panics

If size is zero.

[src]

Returns the number of input neurons.

Used by mentors to validate their sample sizes.

[src]

Returns the number of output neurons.

Used by mentors to validate their sample sizes.

[src]

Iterates over the layer sizes of this topology.

impl Topology
[src]

[src]

Iterates over the layer sizes of this Disciple's topology definition.

Trait Implementations

impl Debug for Topology
[src]

[src]

Formats the value using the given formatter.

impl Clone for Topology
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Topology
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Topology
[src]