| 148 | |
| 149 | template<typename T> |
| 150 | Decoder<T>::~Decoder() |
| 151 | { |
| 152 | FT_LOG_DEBUG(__PRETTY_FUNCTION__); |
| 153 | delete self_attention_layer_; |
| 154 | delete cross_attention_layer_; |
| 155 | delete ffn_layer_; |
| 156 | freeBuffer(); |
| 157 | } |
| 158 | |
| 159 | template<typename T> |
| 160 | void Decoder<T>::forward(std::vector<Tensor>* output_tensors, |
nothing calls this directly
no outgoing calls
no test coverage detected