Skip to content

Is there a way to get the address of activation tensors? #17733

Discussion options

You must be logged in to vote

ORT doesn't have public APIs to query these.

If you would like to study more - here is a good place to start -

PlannerImpl(const Node* parent_node, const onnxruntime::GraphViewer& graph_viewer,
. It has logic to deteermine if ORT can re-use a buffer/ has to allocate new buffer for activations. Please keep in mind that these are internal implementation details of ORT and they are bound to change.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andylee-24
Comment options

Answer selected by andylee-24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants