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

Number of input neurons to this layer.

Numer of output neurons from this layer.

Activation function for this layer.

Trait Implementations

impl Debug for Layer
[src]

[src]

Formats the value using the given formatter.

impl Copy for Layer
[src]

impl Clone for Layer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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