27     m_inputFile (copy_from.m_inputFile)
 
   39   std::string representation =
 
   41   int valuesIncluded = 0;
 
   42   for (
const auto &outer : 
inputs) {
 
   43     representation += 
"\n key->" + outer.first + 
"; ";
 
   44     for (
const auto &inner : outer.second) {
 
   45       representation += inner.first + 
"=" + 
std::to_string(inner.second) + 
", ";
 
   47       if (valuesIncluded > maxValues)
 
   50     if (valuesIncluded > maxValues)
 
   53   representation += 
"\n";
 
   54   return representation;
 
   59   std::string representation =
 
   61   int valuesIncluded = 0;
 
   65     if (valuesIncluded > maxValues)
 
   68   representation += 
"\n";
 
   69   return representation;
 
   76     strm << 
"Unknown network";
 
   84                                    std::string 
const &tree_name) {
 
   87   const std::string 
title = 
"onnxruntime saved network";
 
   88   TTree 
tree(tree_name.c_str(), 
title.c_str());
 
   94                                    std::string 
const &tree_name) {
 
   96   TFile root_file(root_name.c_str(), 
"UPDATE");
 
  102   const std::string *to_check = &
filename;
 
  107   const std::string ending = 
".root";
 
  108   const int ending_len = ending.length();
 
  109   const int filename_len = to_check->length();
 
  110   if (filename_len < ending_len) {
 
  114           to_check->compare(filename_len - ending_len, ending_len, ending));
 
  129 int GetPrefixLength(
const std::vector<std::string>& strings) {
 
  130   const std::string 
first = strings[0];
 
  132   for (
const std::string& this_string : strings) {
 
  134       if (
first[
i] != this_string[
i]) {
 
  145     std::vector<std::string> &output_names)
 const {
 
  146   const int length = GetPrefixLength(output_names);
 
  147   for (
long unsigned int i = 0; 
i < output_names.size(); 
i++)
 
  148     output_names[
i] = output_names[
i].substr(
length);
 
  152   std::vector<std::string> output_layers;
 
  154     output_layers.push_back(
output.first);
 
  155   const int length = GetPrefixLength(output_layers);
 
  156   for (std::string layer_name : output_layers) {
 
  158     auto nodeHandle = 
outputs.extract(layer_name);
 
  160     nodeHandle.key() = layer_name.substr(
length);
 
  162     outputs.insert(std::move(nodeHandle));