René's URL Explorer Experiment


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 array = NdArrays.ofObjects(String.class, Shape.of(3, 2), initializer -> { initializer.byVectors() .put("Cat", "Dog") .put("House") // partial initialization .to(2) .put("Orange", "Apple"); }); // -> [["Cat", "Dog"], ["House", null], ["Orange", "Apple"]] Note: this is a newer version of #4

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

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:c34c28e3-8f1f-a1df-fd27-112f554aa830
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idB34E:37AA3B:A4FE5B:DE4510:69731D41
html-safe-nonce58cc372f7803cec6267400d7f33a073fe21a57e2abdd61a581f0196d7061b8f6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzRFOjM3QUEzQjpBNEZFNUI6REU0NTEwOjY5NzMxRDQxIiwidmlzaXRvcl9pZCI6IjcyODc0MjY0Nzc4MjM1NjUxMjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac22c70fef47240004b963a5d9bc00728daf9030e5f45689af8b0c6413f5d050ad
hovercard-subject-tagpull_request:1146659012
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/tensorflow/java-ndarray/pull/14/checks
twitter:imagehttps://avatars.githubusercontent.com/u/10109534?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/10109534?s=400&v=4
og:image:altThis 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4
turbo-cache-controlno-preview
go-importgithub.com/tensorflow/java-ndarray git https://github.com/tensorflow/java-ndarray.git
octolytics-dimension-user_id15658638
octolytics-dimension-user_logintensorflow
octolytics-dimension-repository_id349488998
octolytics-dimension-repository_nwotensorflow/java-ndarray
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id349488998
octolytics-dimension-repository_network_root_nwotensorflow/java-ndarray
turbo-body-classeslogged-out env-production page-responsive full-width full-width-p-0
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea5e2b48bd1260476599758f5d253b5d24092ab84
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pull/14/checks#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftensorflow%2Fjava-ndarray%2Fpull%2F14%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftensorflow%2Fjava-ndarray%2Fpull%2F14%2Fchecks
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=tensorflow%2Fjava-ndarray
Reloadhttps://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pull/14/checks
Reloadhttps://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pull/14/checks
Reloadhttps://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pull/14/checks
tensorflow https://patch-diff.githubusercontent.com/tensorflow
java-ndarrayhttps://patch-diff.githubusercontent.com/tensorflow/java-ndarray
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ftensorflow%2Fjava-ndarray
Fork 17 https://patch-diff.githubusercontent.com/login?return_to=%2Ftensorflow%2Fjava-ndarray
Star 81 https://patch-diff.githubusercontent.com/login?return_to=%2Ftensorflow%2Fjava-ndarray
Code https://patch-diff.githubusercontent.com/tensorflow/java-ndarray
Issues 2 https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/issues
Pull requests 1 https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pulls
Actions https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/actions
Projects 0 https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/projects
Security 0 https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/security
Insights https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pulse
Code https://patch-diff.githubusercontent.com/tensorflow/java-ndarray
Issues https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/issues
Pull requests https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pulls
Actions https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/actions
Projects https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/projects
Security https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/security
Insights https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pulse
karllessardhttps://patch-diff.githubusercontent.com/karllessard
tensorflow:mainhttps://patch-diff.githubusercontent.com/tensorflow/java-ndarray/tree/main
karllessard:initializershttps://patch-diff.githubusercontent.com/karllessard/tensorflow-java-ndarray/tree/initializers
Conversation 11 https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pull/14
Commits 3 https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pull/14/commits
Checks 0 https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pull/14/checks
Files changed https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pull/14/files
Please reload this pagehttps://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pull/14/checks
Please reload this pagehttps://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pull/14/checks
NdArray Initializers API https://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pull/14/checks#top
Please reload this pagehttps://patch-diff.githubusercontent.com/tensorflow/java-ndarray/pull/14/checks
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.