Skip to content

Make TensorShapeVector to use InlinedVector<Int64_t> to reduce on template instantiations - #18519

Merged
yuslepukhin merged 4 commits into
mainfrom
yuslepukhin/tensor_shape_vector
Nov 21, 2023
Merged

Make TensorShapeVector to use InlinedVector<Int64_t> to reduce on template instantiations#18519
yuslepukhin merged 4 commits into
mainfrom
yuslepukhin/tensor_shape_vector

Conversation

@yuslepukhin

@yuslepukhin yuslepukhin commented Nov 20, 2023

Copy link
Copy Markdown
Contributor

Description

Use InlinedVector instead of <int64_t,5> to reduce on the number of template instantiations.

Motivation and Context

The reported size reduction is small, just a few Ks. Just trying it out.

@pranavsharma

Copy link
Copy Markdown
Contributor

Typo in the title: instantiations.

@yuslepukhin yuslepukhin changed the title Make TensorShapeVector to use InlinedVector<Int64_t> to reduce on template instantioations Make TensorShapeVector to use InlinedVector<Int64_t> to reduce on template instantiations Nov 21, 2023
@yuslepukhin
yuslepukhin marked this pull request as ready for review November 21, 2023 22:13
@yuslepukhin
yuslepukhin merged commit 81a763a into main Nov 21, 2023
@yuslepukhin
yuslepukhin deleted the yuslepukhin/tensor_shape_vector branch November 21, 2023 22:13
kleiti pushed a commit to kleiti/onnxruntime that referenced this pull request Mar 22, 2024
…plate instantiations (microsoft#18519)

### Description
Use InlinedVector<int64> instead of <int64_t,5> to reduce on the number
of template instantiations.

### Motivation and Context
The reported size reduction is small, just a few Ks. Just trying it out.
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.

2 participants