Struct prophet::topology::TopologyBuilder [] [src]

pub struct TopologyBuilder { /* fields omitted */ }

Used to build topologies and do some minor compile-time and runtime checks to enforce validity of the topology as a shape for neural nets.

Can be used by Mentor types to train it and become a trained neural network with which the user can predict data.

Methods

impl TopologyBuilder
[src]

[src]

Adds a hidden layer to this topology with the given amount of neurons.

Bias-Neurons are implicitely added!

Panics

If layer_size is zero.

[src]

Adds some hidden layers to this topology with the given amount of neurons.

Bias-Neurons are implicitely added!

Panics

If any of the specified layer sizes is zero.

[src]

Finishes constructing a topology by defining its output layer neurons.

Bias-Neurons are implicitely added!

Panics

If layer_size is zero.

Trait Implementations

impl Debug for TopologyBuilder
[src]

[src]

Formats the value using the given formatter.

impl Clone for TopologyBuilder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for TopologyBuilder
[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 TopologyBuilder
[src]