-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tensor for PTQ #2058
Merged
alexsu52
merged 50 commits into
openvinotoolkit:develop
from
AlexanderDokuchaev:ad/ptq_tensor
Oct 9, 2023
Merged
Tensor for PTQ #2058
Changes from 16 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
17e91ca
Add amax, amin, unstack functions
AlexanderDokuchaev d87a634
unstack
AlexanderDokuchaev 20b75f6
unused func
AlexanderDokuchaev d82af3d
moveaxis
AlexanderDokuchaev 427ffa3
mean
AlexanderDokuchaev 4eefd0e
round
AlexanderDokuchaev 5038dab
tensor for bc
AlexanderDokuchaev 113a047
tensor fbc
AlexanderDokuchaev 519a2e6
linter
AlexanderDokuchaev 03b1bc1
fix pt
AlexanderDokuchaev 82c699b
linter
AlexanderDokuchaev cc5bc75
Merge branch 'develop' into ad/ptq_tensor
AlexanderDokuchaev 982f579
fix
AlexanderDokuchaev cf47cbd
fix
AlexanderDokuchaev 9cc7582
fix
AlexanderDokuchaev 840cb6a
fix
AlexanderDokuchaev c78668d
fix comments
AlexanderDokuchaev 323fe0e
Merge branch 'develop' into ad/ptq_tensor
AlexanderDokuchaev 5d3ebce
Disable warning on divide operator of numpy
AlexanderDokuchaev fe3dea1
fix
AlexanderDokuchaev 2d5567b
fix name
AlexanderDokuchaev e29d568
statistical_functions.py
AlexanderDokuchaev 4816448
fbc remote tensor processor
AlexanderDokuchaev 9f1fe47
del __all__
AlexanderDokuchaev 1fde239
allclose
AlexanderDokuchaev 8a54875
Merge branch 'develop' into ad/ptq_tensor
AlexanderDokuchaev 93eef06
use tensor.functions in tests
AlexanderDokuchaev 55a0d86
-
AlexanderDokuchaev cc8d0ed
typehints
AlexanderDokuchaev 5cd62cf
typehints
AlexanderDokuchaev 29f80bd
Fix docstring
AlexanderDokuchaev 6c21d17
hints
AlexanderDokuchaev 7bd5265
float typehint
AlexanderDokuchaev 33bb440
lint
AlexanderDokuchaev 91df596
save device in unify_statistics
AlexanderDokuchaev cfd3f04
mean_per_channel
AlexanderDokuchaev 11c6cba
_dispatch_list
AlexanderDokuchaev 63d7a16
test_fn_mean_per_channel_incorrect_axis
AlexanderDokuchaev 6d62e44
_dispatch_list in readme
AlexanderDokuchaev 9767308
lint
AlexanderDokuchaev 5393fa3
Merge branch 'develop' into ad/ptq_tensor
AlexanderDokuchaev 35ee9a4
Add check to device in tests
AlexanderDokuchaev 19640ad
functions to tensor namespace
AlexanderDokuchaev 3ac8523
update import mean_per_channel
AlexanderDokuchaev 94ed9a1
fix
AlexanderDokuchaev 4090048
linter
AlexanderDokuchaev 1feb2f5
-
AlexanderDokuchaev 4988067
Merge branch 'develop' into ad/ptq_tensor
AlexanderDokuchaev 43eeba0
dispath_list
AlexanderDokuchaev d5de2a4
typehint
AlexanderDokuchaev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please explain why do you change this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functions in this file always return Tensor or list of Tensor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is not entirely correct. I mean these functions return a
Tensor
object only if there is no registered version for the type of the passed argument.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update all return type to
Tensor
to correctly works "pop-up suggestions" (or how it names when editor suggest functions by first symbols?).So set Tensor type to first argument. But not sure about second, added like Union[torch.Tensor, float], because it can be used like
torch.tensor(1) + 1
orfns.min(torch.tensor(1), 0)
. May be do you have anny suugestion about it?