Caffe2 - C++ API
A deep learning, cross platform ML framework
string_utils.h
1 #pragma once
2 
3 #include <memory>
4 #include <string>
5 #include <vector>
6 
7 namespace caffe2 {
8 
9 std::vector<std::string> split(char separator, const std::string& string);
10 size_t editDistance(
11  const std::string& s1, const std::string& s2, size_t max_distance = 0);
12 
13 int32_t editDistanceHelper(const char* s1,
14  size_t s1_len,
15  const char* s2,
16  size_t s2_len,
17  std::vector<size_t> &current,
18  std::vector<size_t> &previous,
19  std::vector<size_t> &previous1,
20  size_t max_distance);
21 } // namespace caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...