ct2rs 0.9.18

Rust bindings for OpenNMT/CTranslate2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <optional>

#include "storage_view.h"

namespace ctranslate2 {

  struct EncoderForwardOutput {
    StorageView last_hidden_state;

    std::optional<StorageView> pooler_output;
  };

}