Struct wyrm::InputNode[][src]

pub struct InputNode { /* fields omitted */ }

Input node for the graph.

Methods

impl InputNode
[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]

Formats the value using the given formatter. Read more

impl Node for InputNode
[src]

Type of the node's value.

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

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

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

Return the value of the node.

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

Reset the caches of this node and its parents.

Auto Trait Implementations

impl Send for InputNode

impl !Sync for InputNode