Struct rust_bert::fnet::FNetModelOutput [−][src]
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
Auto Trait Implementations
impl RefUnwindSafe for FNetModelOutput
impl Send for FNetModelOutput
impl !Sync for FNetModelOutput
impl Unpin for FNetModelOutput
impl UnwindSafe for FNetModelOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
