15 inputFile = std::string(
gROOT->GetTutorialsDir()) +
"/machine_learning/Linear_16.onnx";
24 model.OutputGenerated();
27 model.PrintRequiredInputTensors();
31 model.PrintInitializedTensors();
35 model.PrintIntermediateTensors();
38 std::cout<<
"\n\nTensor \"16weight\" already exist: "<<std::boolalpha<<model.CheckIfTensorAlreadyExist(
"16weight")<<
"\n\n";
39 std::vector<size_t>
tensorShape = model.GetTensorShape(
"16weight");
40 std::cout<<
"Shape of tensor \"16weight\": ";
44 std::cout<<
"\n\nData type of tensor \"16weight\": ";
46 std::cout<<SOFIE::ConvertTypeToString(
tensorType);
50 model.PrintGenerated();
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.