Skip to content

Implement serialization of tensors for C++#3890

Merged
Wumpf merged 7 commits intomainfrom
emilk/cpp-serialize-tensors
Oct 17, 2023
Merged

Implement serialization of tensors for C++#3890
Wumpf merged 7 commits intomainfrom
emilk/cpp-serialize-tensors

Conversation

@emilk
Copy link
Copy Markdown
Member

@emilk emilk commented Oct 17, 2023

What

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I have tested demo.rerun.io (if applicable)
  • The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

@emilk emilk added sdk-cpp C/C++ API specific exclude from changelog PRs with this won't show up in CHANGELOG.md labels Oct 17, 2023
@Wumpf Wumpf self-requested a review October 17, 2023 08:47
Copy link
Copy Markdown
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hurray! :)

));
}
} else {
let type_builder_name = match element_type {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason you can't re-use arrow_array_builder_type?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes - we have an element_type, and arrow_array_builder_type takes a Type

@Wumpf Wumpf merged commit bc3de3f into main Oct 17, 2023
@Wumpf Wumpf deleted the emilk/cpp-serialize-tensors branch October 17, 2023 09:05
@Wumpf
Copy link
Copy Markdown
Member

Wumpf commented Oct 17, 2023

we can clean up later, I need this now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exclude from changelog PRs with this won't show up in CHANGELOG.md sdk-cpp C/C++ API specific

Projects

None yet

Development

Successfully merging this pull request may close these issues.

C++: serialize tensors

2 participants