Struct rust_bert::models::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
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more