#include <string.h>
#include <tensor.h>
-#if defined(DENABLE_ENCODER)
+#if defined(ENABLE_ENCODER)
#include "encoder.hpp"
#endif
// bool optimize = true;
bool optimize_attention = false;
-#if defined(DENABLE_ENCODER)
+#if defined(ENABLE_ENCODER)
template <typename T>
T unwrap(std::optional<T> &&value, const std::string &error_msg) {
if (value.has_value()) {
std::vector<int64_t> init_input;
-#if defined(DENABLE_ENCODER)
+#if defined(ENABLE_ENCODER)
std::string vocab_file_name = "../Applications/PicoGPT/jni/vocab.json";
std::string merge_file_name = "../Applications/PicoGPT/jni/merges.txt";
((uint *)(wpe_input))[0] = i;
-#if defined(DENABLE_ENCODER)
+#if defined(ENABLE_ENCODER)
std::vector<int64_t> token_ids;
for (auto element : ids) {
token_ids.push_back(static_cast<int64_t>(element));