Type Alias DebertaSequenceClassificationOutput

Source
pub type DebertaSequenceClassificationOutput = BertSequenceClassificationOutput;
Expand description

Container for the DeBERTa sequence classification model output.

Aliased Type§

struct DebertaSequenceClassificationOutput {
    pub logits: Tensor,
    pub all_hidden_states: Option<Vec<Tensor>>,
    pub all_attentions: Option<Vec<Tensor>>,
}

Fields§

§logits: Tensor

Logits for each input (sequence) for each target class

§all_hidden_states: Option<Vec<Tensor>>

Hidden states for all intermediate layers

§all_attentions: Option<Vec<Tensor>>

Attention weights for all intermediate layers