Skip to content

Conversation

@sanjibansg
Copy link
Contributor

Description

This PR modifies the AddOutputTensorNameList() function present in RModel.hxx to use the UTILITY::Clean_name() function to process the strings before adding them into the RModel.

Checklist:

  • tested changes locally

@phsft-bot
Copy link

Can one of the admins verify this patch?

Copy link
Contributor

@sitongan sitongan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sanjibansg thanks for the PR. Could you put the code in the RModel cxx file instead, thanks!

@sanjibansg
Copy link
Contributor Author

sanjibansg commented Jul 12, 2021

Hi @sanjibansg thanks for the PR. Could you put the code in the RModel cxx file instead, thanks!

Hi @sitongan
Changes made as asked.

@sanjibansg sanjibansg requested a review from sitongan July 12, 2021 14:23
Copy link
Contributor

@sitongan sitongan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Note to future: an output tensor as in ONNX definition will also be considered an IntermediateTensor here. Its memory allocation is handled when intemdiate tensors are allocated. We keep track of output tensor just to identify the final output of the model graph.

@sitongan sitongan merged commit a2c0752 into root-project:master Jul 12, 2021
pzhristov pushed a commit to alisw/root that referenced this pull request Aug 27, 2021
…project#8640)

* Modified AddOutputTensorNameList in RModel

* Function definition of AddOutputTensorNameList() moved to RModel.cxx
@sanjibansg sanjibansg deleted the utility branch September 5, 2021 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants