19 #include "fastdeploy/core/fd_tensor.h" 20 #include "fastdeploy/utils/utils.h" 27 virtual bool Encode(
const std::string& raw_text,
28 std::vector<FDTensor>* encoded_tensor)
const;
29 virtual bool EncodeBatch(
const std::vector<std::string>& raw_texts,
30 std::vector<FDTensor>* encoded_tensor)
const;
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16