MCPcopy Create free account
hub / github.com/KumarRobotics/sloam / printVector

Function printVector

sloam/include/segmentation/inference.h:114–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112
113template <typename T>
114void printVector(const std::vector<T>& v){
115 std::cout << "[";
116 for (int i = 0; i < v.size(); ++i)
117 {
118 std::cout << v[i];
119 if (i != v.size() - 1)
120 {
121 std::cout << ", ";
122 }
123 }
124 std::cout << "]" << std::endl;
125}
126/**
127 * @brief Operator overloading for printing vectors
128 * @tparam T

Callers 1

_startONNXSessionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected