Title: NdArray Initializers API by karllessard · Pull Request #14 · tensorflow/java-ndarray · GitHub
Open Graph Title: NdArray Initializers API by karllessard · Pull Request #14 · tensorflow/java-ndarray
X Title: NdArray Initializers API by karllessard · Pull Request #14 · tensorflow/java-ndarray
Description: This draft shows how we could hydrate a just-allocated array using a new API that focuses on a stateful builder approach rather than the positional endpoints setXXX(value, coords) exposed by the NdArray itself.
Not only it simplifies the task of initializing an array with explicit values but also it allows us to allocate an empty sparse array and then let the user initialize its data (right now, the user have to allocate and initialize the data of the indices and values subarrays first before being able to allocate a sparse array).
Example of usage:
NdArray
Open Graph Description: This draft shows how we could hydrate a just-allocated array using a new API that focuses on a stateful builder approach rather than the positional endpoints setXXX(value, coords) exposed by the Nd...
X Description: This draft shows how we could hydrate a just-allocated array using a new API that focuses on a stateful builder approach rather than the positional endpoints setXXX(value, coords) exposed by the Nd...
Opengraph URL: https://github.com/tensorflow/java-ndarray/pull/14
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:c34c28e3-8f1f-a1df-fd27-112f554aa830 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B34E:37AA3B:A4FE5B:DE4510:69731D41 |
| html-safe-nonce | 58cc372f7803cec6267400d7f33a073fe21a57e2abdd61a581f0196d7061b8f6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzRFOjM3QUEzQjpBNEZFNUI6REU0NTEwOjY5NzMxRDQxIiwidmlzaXRvcl9pZCI6IjcyODc0MjY0Nzc4MjM1NjUxMjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 22c70fef47240004b963a5d9bc00728daf9030e5f45689af8b0c6413f5d050ad |
| hovercard-subject-tag | pull_request:1146659012 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/tensorflow/java-ndarray/pull/14/checks |
| twitter:image | https://avatars.githubusercontent.com/u/10109534?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10109534?s=400&v=4 |
| og:image:alt | This draft shows how we could hydrate a just-allocated array using a new API that focuses on a stateful builder approach rather than the positional endpoints setXXX(value, coords) exposed by the Nd... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| turbo-cache-control | no-preview |
| go-import | github.com/tensorflow/java-ndarray git https://github.com/tensorflow/java-ndarray.git |
| octolytics-dimension-user_id | 15658638 |
| octolytics-dimension-user_login | tensorflow |
| octolytics-dimension-repository_id | 349488998 |
| octolytics-dimension-repository_nwo | tensorflow/java-ndarray |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 349488998 |
| octolytics-dimension-repository_network_root_nwo | tensorflow/java-ndarray |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width