Caffe2 - C++ API
A deep learning, cross platform ML framework
Data Fields
torch::nn::RNNOutput Struct Reference

The output of a single invocation of an RNN module's forward() method. More...

#include <rnn.h>

Data Fields

Tensor output
 The result of applying the specific RNN algorithm to the input tensor and input state. More...
 
Tensor state
 The new, updated state that can be fed into the RNN in the next forward step. More...
 

Detailed Description

The output of a single invocation of an RNN module's forward() method.

Definition at line 20 of file rnn.h.

Field Documentation

Tensor torch::nn::RNNOutput::output

The result of applying the specific RNN algorithm to the input tensor and input state.

Definition at line 23 of file rnn.h.

Tensor torch::nn::RNNOutput::state

The new, updated state that can be fed into the RNN in the next forward step.

Definition at line 26 of file rnn.h.


The documentation for this struct was generated from the following file: