Compute Library  18.03
GraphUtils.h File Reference
#include "arm_compute/core/PixelValue.h"
#include "arm_compute/graph/Graph.h"
#include "arm_compute/graph/ITensorAccessor.h"
#include "arm_compute/graph/Types.h"
#include <array>
#include <random>
#include <string>
#include <vector>

Go to the source code of this file.

Data Structures

class  IPreprocessor
 Preprocessor interface. More...
 
class  CaffePreproccessor
 Caffe preproccessor. More...
 
class  TFPreproccessor
 TF preproccessor. More...
 
class  PPMWriter
 PPM writer class. More...
 
class  DummyAccessor
 Dummy accessor class. More...
 
class  PPMAccessor
 PPM accessor class. More...
 
class  TopNPredictionsAccessor
 Result accessor class. More...
 
class  RandomAccessor
 Random accessor class. More...
 
class  NumPyBinLoader
 Numpy Binary loader class. More...
 

Namespaces

 arm_compute
 This file contains all available output stages for GEMMLowp on OpenCL.
 
 arm_compute::graph_utils
 

Functions

std::unique_ptr< graph::ITensorAccessor > get_random_accessor (PixelValue lower, PixelValue upper, const std::random_device::result_type seed=0)
 Generates appropriate random accessor. More...
 
std::unique_ptr< graph::ITensorAccessor > get_weights_accessor (const std::string &path, const std::string &data_file)
 Generates appropriate weights accessor according to the specified path. More...
 
std::unique_ptr< graph::ITensorAccessor > get_input_accessor (const std::string &ppm_path, std::unique_ptr< IPreprocessor > preprocessor=nullptr, bool bgr=true)
 Generates appropriate input accessor according to the specified ppm_path. More...
 
graph::TargetHint set_target_hint (int target)
 Utility function to return the TargetHint. More...
 
std::unique_ptr< graph::ITensorAccessor > get_output_accessor (const std::string &labels_path, size_t top_n=5, std::ostream &output_stream=std::cout)
 Generates appropriate output accessor according to the specified labels_path. More...