-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
ARROW-7633: [C++][CI] Create fuzz targets for tensors and sparse tensors #6302
Conversation
e5e99a5
to
1c44410
Compare
637f086
to
19ef6f5
Compare
@mrkn it looks like this needs a rebase? Were you going to pursue these changes (PR is still marked as a draft?) |
@emkornfield The reason why this is marked as draft is that I intend to include the fuzz target for sparse tensors. But I need more time to do it, so I want to split a pull request for sparse tensors. I'll fix this and rebase to the mater branch asap. |
I need more several days for syncing this pull-request to the latest master branch. |
5ee93da
to
b6bec6f
Compare
This pull request is ready to review. @pitrou Could you have a look? |
I'll take a look later this week. |
Rebased due to #8350. |
Need to rebase again after #8373 is merged. |
850954c
to
1adb812
Compare
@@ -1349,17 +1349,23 @@ Status GetTensorMetadata(const Buffer& metadata, std::shared_ptr<DataType>* type | |||
return Status::IOError("Header-type of flatbuffer-encoded Message is not Tensor."); | |||
} | |||
|
|||
int ndim = static_cast<int>(tensor->shape()->size()); | |||
const auto ndim = tensor->shape()->size(); | |||
using ndim_type = std::remove_const<decltype(ndim)>::type; |
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.
Simple decltype(ndim)
is modified by const
so we need to use std::remove_const
here.
@pitrou I changed for your comments and left one reply comment. |
Indeed, the CI failure is probably unrelated. I restarted it. |
I rebased. |
CI passed on my fork, will merge. Thank you @mrkn ! |
Closes #6302 from mrkn/ARROW-7633 Lead-authored-by: Kenta Murata <mrkn@mrkn.jp> Co-authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
Closes apache#6302 from mrkn/ARROW-7633 Lead-authored-by: Kenta Murata <mrkn@mrkn.jp> Co-authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
Closes apache#6302 from mrkn/ARROW-7633 Lead-authored-by: Kenta Murata <mrkn@mrkn.jp> Co-authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
No description provided.