Struct wyrm::InputNode [] [src]

pub struct InputNode {
    pub value: RefCell<Arr>,
}

Input node for the graph.

Fields

Methods

impl InputNode
[src]

[src]

Create a new input node with a given value. This fixes the shape of the node in the graph.

Trait Implementations

impl Debug for InputNode
[src]

[src]

Formats the value using the given formatter.

impl Node for InputNode
[src]

Type of the node's value.

Type of the input gradient the node receives during backpropagation. Read more

[src]

Perform the forward step. Should recursively call the forward methods of its ancestors. Read more

[src]

Perform the backward step. Should recursively call the backward methods of its ancestors. Read more

[src]

Return the value of the node.

[src]

If the node needs to be used in the backward step.

[src]