Skip to content
Discussion options

You must be logged in to vote

A1 - it's enforcing the data of input[1] ( which is the shape ) to be on CPU. so the framework ensures that input[1] will be on CPU before executing operator Reshape.
A2 - I don't fully understand this part. My understanding is that .Alias(0, 0) will let ORT to try to make input[0] and output[0] to use the same data. Not sure if that is always same or not. So in code I also write a GPU to GPU copy if they are not same.
A3 - yes.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
6 replies
@fs-eire
Comment options

fs-eire May 13, 2023
Collaborator

@fs-eire
Comment options

fs-eire May 13, 2023
Collaborator

@visheratin
Comment options

@fs-eire
Comment options

fs-eire May 14, 2023
Collaborator

Answer selected by visheratin
@visheratin
Comment options

@fs-eire
Comment options

fs-eire May 18, 2023
Collaborator

Comment options

You must be logged in to vote
2 replies
@visheratin
Comment options

@fs-eire
Comment options

fs-eire May 14, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants