32 static std::unique_ptr<Graph>
create(
const char* graph_file_name,
const std::vector<std::string> &
outputs = {},
int ninputs = 1,
int noutputs = 1)
35 std::unique_ptr<Graph> ptr(
new Graph(graph_file_name,
outputs, success, ninputs, noutputs));
36 if (success) {
return ptr; }
37 else {
return nullptr; }
46 std::vector< std::vector < std::vector< float > > >
run(
48 long long int samples = -1);
49 std::vector< std::vector < std::vector< float > > >
run(
const std::vector< tensorflow::Tensor > &
x);
53 Graph(
const char* graph_file_name,
const std::vector<std::string> &
outputs,
bool & success,
int ninputs,
int noutputs);
boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, vertex_property, edge_property, graph_property > Graph
tensorflow::Session * fSession
static std::unique_ptr< Graph > create(const char *graph_file_name, const std::vector< std::string > &outputs={}, int ninputs=1, int noutputs=1)
std::vector< std::string > fOutputNames
std::vector< std::string > fInputNames