EncoderForwardOutput

class ctranslate2.EncoderForwardOutput

Forward output of an encoder model.

Inherits from: pybind11_builtins.pybind11_object

Attributes:

property last_hidden_state

Output of the last layer.

property pooler_output

Output of the pooling layer.