Apollo  v5.5.0
Open source self driving car software
Namespaces | Functions
util.h File Reference
#include <fstream>
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "modules/perception/base/blob.h"
#include "modules/perception/base/image.h"
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 apollo
 
 apollo::perception
 
 apollo::perception::inference
 

Functions

template<typename T >
void apollo::perception::inference::load_data (const std::string &filename, std::vector< T > *outputs)
 
std::shared_ptr< float > apollo::perception::inference::load_binary_data (const std::string &filename)
 
bool apollo::perception::inference::write_result (const std::string &out_path, const std::vector< float > &results)
 
bool apollo::perception::inference::write_result (const std::string &out_path, const std::map< std::string, std::vector< float > > &results)