MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / ~Decoder

Method ~Decoder

src/fastertransformer/models/decoder/Decoder.cc:150–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148
149template<typename T>
150Decoder<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
159template<typename T>
160void Decoder<T>::forward(std::vector<Tensor>* output_tensors,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected