Struct juice::layers::activation::tanh::TanH[][src]

pub struct TanH;
Expand description

TanH Activation Layer

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Compute gradients with respect to the inputs and write them into input_gradients.

Compute output for given input and write them into output_data.

Compute gradients with respect to the parameters and write them into parameters_gradients.

Formats the value using the given formatter. Read more

Returns the exact number of output blobs required by the layer, or None if no exact number is required. Read more

Returns the exact number of input blobs required by the layer, or None if no exact number is required. Read more

Return wether the computations of a layer should be done in-place (the output will be written where the input was read from). Read more

Adjust to shapes of the output blobs to fit the shapes of the input blobs. Read more

Initialize the layer for computation. Read more

Adjust size of shared workspace. Read more

Compute the [feedforward][1] layer output using the provided Backend. [1]: https://en.wikipedia.org/wiki/Feedforward_neural_network Read more

Compute the [backpropagation][1] input gradient using the provided backend. [1]: https://en.wikipedia.org/wiki/Backpropagation Read more

Compute the [backpropagation][1] parameters gradient using the provided backend. [1]: https://en.wikipedia.org/wiki/Backpropagation Read more

Return whether “anonymous” output blobs are created automatically for the layer. Read more

Returns the minimum number of output blobs required by the layer, or 0 if no minimum number is required. Read more

Return whether weight blobs are created automatically for the layer. Read more

Return whether to allow force_backward for a given input blob index. Read more

Return wether a simple native backend should be used to [sync][1] instead of the default backend. [1]: #method.sync Read more

Return wether the layer is a container. Read more

Return the associated loss weight for a given output blob index. Read more

Return the input tensors of the layer. Read more

Return the gradients of the input tensors of the layer. Read more

Return the output tensors of the layer. Read more

Return the gradients of the output tensors of the layer. Read more

Return the learnable weights inside the layer. Read more

Return the gradients for the learnable weights inside the layer. Read more

Return the names of the learnable weights inside the layer. Read more

Return the learning rates for the learnable weights inside the layer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.