-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-846: [GLib] Add GArrowTensor, GArrowInt8Tensor and GArrowUInt8Tensor #560
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
Conversation
|
As a way to reduce build times, have you considered consolidating code either by object type (all types / arrays / tensors in one place) or data type (e.g. all the uint8 things in one header)? One of the downsides of C++, I guess. It's not a problem either way |
|
OK. I'll choose object type based consolidation. Because it's suitable for organizing documentation. Arrow GLib uses one class per file because documentation tool Arrow GLib uses (GTK-Doc) uses one document section per file rule. Should I do the change in this pull request? Or can I work on the change as another pull request? I want to work on the change as another pull request to do one thing in one pull request. |
GObject Introspection on Ubuntu 14.04 is 1.40. It doesn't support "(nullable)". "(nullable)" was added since 1.42.
|
@kou I see about GTK-Doc, I did not know that requirement. I will defer to your judgment; if you make any changes it's OK to do them in another pull request. |
wesm
left a comment
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.
+1.
So one thing I'm wondering, and want your opinion. I am not sure if having all of the TYPENAME##Tensor classes is very useful, since they only provide a typed data pointer. We would make only a single Tensor class instead, would that make things easier for you?
|
cc @robertnishihara @pcmoritz -- I am considering removing the |
|
It's OK to me that Tensor subclasses are removed. |
|
OK. Sounds ogod |
…ensor Author: Kouhei Sutou <kou@clear-code.com> Closes apache#560 from kou/glib-add-tensor and squashes the following commits: ed949d4 [Kouhei Sutou] [GLib] Support running tests on Ubuntu 14.04 39d40f0 [Kouhei Sutou] [GLib] Add GArrowTensor, GArrowInt8Tensor and GArrowUInt8Tensor
No description provided.