summaryrefslogtreecommitdiff
path: root/utils/b64featvector.h
blob: 6ac04d443325d34fd851d9dc299cc5a9ed674f72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _B64FEATVECTOR_H_
#define _B64FEATVECTOR_H_

#include <string>

#include "sparse_vector.h"
#include "weights.h"

std::string EncodeFeatureVector(const SparseVector<weight_t> &);
void DecodeFeatureVector(const std::string &, SparseVector<weight_t> *);

#endif  // _B64FEATVECTOR_H_