Struct rust_bert::fnet::FNetModelOutput
source · pub struct FNetModelOutput {
pub hidden_states: Tensor,
pub pooled_output: Option<Tensor>,
pub all_hidden_states: Option<Vec<Tensor>>,
}Expand description
Container for the FNet model output.
Fields§
Last hidden states from the model
pooled_output: Option<Tensor>Pooled output (hidden state for the first token)
Hidden states for all intermediate layers