René's URL Explorer Experiment


Title: Add fetchVariable method to Session to get value of resource variable by rnett · Pull Request #261 · tensorflow/java · GitHub

Open Graph Title: Add fetchVariable method to Session to get value of resource variable by rnett · Pull Request #261 · tensorflow/java

X Title: Add fetchVariable method to Session to get value of resource variable by rnett · Pull Request #261 · tensorflow/java

Description: Small PR to add a method to Session to allow for the fetching of the values of resource variables. Fetches the resource tensor then uses an eager session to read the value.

Open Graph Description: Small PR to add a method to Session to allow for the fetching of the values of resource variables. Fetches the resource tensor then uses an eager session to read the value.

X Description: Small PR to add a method to Session to allow for the fetching of the values of resource variables. Fetches the resource tensor then uses an eager session to read the value.

Opengraph URL: https://github.com/tensorflow/java/pull/261

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:ef245f10-5ae7-9c92-19df-625e6b696607
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8D84:3C782D:38B921:4971EF:696B8415
html-safe-noncef51e4b9142d740d4db390fd337e1f88a97543bbcb25e298c77c42b6628875bba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDg0OjNDNzgyRDozOEI5MjE6NDk3MUVGOjY5NkI4NDE1IiwidmlzaXRvcl9pZCI6IjM2NzkxMjgxNTA2OTY3NTYyNDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7b852742e375ff905b784116f01e7562a141a93c8b61efca947ba1aa3802d1bb
hovercard-subject-tagpull_request:603320473
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/tensorflow/java/261/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dcfee09d997d3e484592238178dcc563749250cd00b54b53843e2176be69d0ce/tensorflow/java/pull/261
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dcfee09d997d3e484592238178dcc563749250cd00b54b53843e2176be69d0ce/tensorflow/java/pull/261
og:image:altSmall PR to add a method to Session to allow for the fetching of the values of resource variables. Fetches the resource tensor then uses an eager session to read the value.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamernett
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/tensorflow/java git https://github.com/tensorflow/java.git
octolytics-dimension-user_id15658638
octolytics-dimension-user_logintensorflow
octolytics-dimension-repository_id207384523
octolytics-dimension-repository_nwotensorflow/java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id207384523
octolytics-dimension-repository_network_root_nwotensorflow/java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/tensorflow/java/pull/261#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftensorflow%2Fjava%2Fpull%2F261
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftensorflow%2Fjava%2Fpull%2F261
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=tensorflow%2Fjava
Reloadhttps://github.com/tensorflow/java/pull/261
Reloadhttps://github.com/tensorflow/java/pull/261
Reloadhttps://github.com/tensorflow/java/pull/261
tensorflow https://github.com/tensorflow
javahttps://github.com/tensorflow/java
Notifications https://github.com/login?return_to=%2Ftensorflow%2Fjava
Fork 223 https://github.com/login?return_to=%2Ftensorflow%2Fjava
Star 913 https://github.com/login?return_to=%2Ftensorflow%2Fjava
Code https://github.com/tensorflow/java
Issues 151 https://github.com/tensorflow/java/issues
Pull requests 24 https://github.com/tensorflow/java/pulls
Actions https://github.com/tensorflow/java/actions
Projects 0 https://github.com/tensorflow/java/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/tensorflow/java/security
Please reload this pagehttps://github.com/tensorflow/java/pull/261
Insights https://github.com/tensorflow/java/pulse
Code https://github.com/tensorflow/java
Issues https://github.com/tensorflow/java/issues
Pull requests https://github.com/tensorflow/java/pulls
Actions https://github.com/tensorflow/java/actions
Projects https://github.com/tensorflow/java/projects
Security https://github.com/tensorflow/java/security
Insights https://github.com/tensorflow/java/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ftensorflow%2Fjava%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftensorflow%2Fjava%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/tensorflow/java/pull/261#issue-comment-box
Craigacphttps://github.com/Craigacp
tensorflow:masterhttps://github.com/tensorflow/java/tree/master
rnett:rn_fetch_variablehttps://github.com/rnett/tensorflow-java/tree/rn_fetch_variable
Add fetchVariable method to Session to get value of resource variable https://github.com/tensorflow/java/pull/261#top
Craigacphttps://github.com/Craigacp
tensorflow:masterhttps://github.com/tensorflow/java/tree/master
rnett:rn_fetch_variablehttps://github.com/rnett/tensorflow-java/tree/rn_fetch_variable
Conversation 22 https://github.com/tensorflow/java/pull/261
Commits 8 https://github.com/tensorflow/java/pull/261/commits
Checks 0 https://github.com/tensorflow/java/pull/261/checks
Files changed https://github.com/tensorflow/java/pull/261/files
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.co/hiddenchars
https://github.com/tensorflow/java/pull/{{ revealButtonHref }}
https://github.com/rnett
rnetthttps://github.com/rnett
Mar 30, 2021https://github.com/tensorflow/java/pull/261#issue-844013881
Please reload this pagehttps://github.com/tensorflow/java/pull/261
rnetthttps://github.com/rnett
March 29, 2021 19:48https://github.com/tensorflow/java/pull/261#commits-pushed-e08eb06
https://github.com/rnett
Add fetchVariable method to Session to get value of resource variablehttps://github.com/tensorflow/java/pull/261/commits/e08eb06cd444ee3810943db82671c7669a43d22e
e08eb06https://github.com/tensorflow/java/pull/261/commits/e08eb06cd444ee3810943db82671c7669a43d22e
https://github.com/rnett
Formathttps://github.com/tensorflow/java/pull/261/commits/f8f9a2f0f19bea1a9f7f9ab5157a45e385aef532
f8f9a2fhttps://github.com/tensorflow/java/pull/261/commits/f8f9a2f0f19bea1a9f7f9ab5157a45e385aef532
https://github.com/rnett
More Formattinghttps://github.com/tensorflow/java/pull/261/commits/951a2d9297f5a54c7b7db0de0e524f7839048dab
951a2d9https://github.com/tensorflow/java/pull/261/commits/951a2d9297f5a54c7b7db0de0e524f7839048dab
https://github.com/rnett
rnetthttps://github.com/rnett
Mar 30, 2021https://github.com/tensorflow/java/pull/261#issuecomment-809876514
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.com/Craigacp
Craigacphttps://github.com/Craigacp
Mar 30, 2021https://github.com/tensorflow/java/pull/261#issuecomment-810229499
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.com/rnett
rnetthttps://github.com/rnett
Mar 30, 2021https://github.com/tensorflow/java/pull/261#issuecomment-810466004
#260https://github.com/tensorflow/java/issues/260
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.com/Craigacp
Craigacphttps://github.com/Craigacp
Mar 30, 2021https://github.com/tensorflow/java/pull/261#issuecomment-810481332
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.com/rnett
rnetthttps://github.com/rnett
Mar 30, 2021https://github.com/tensorflow/java/pull/261#issuecomment-810593897
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.com/Craigacp
Craigacphttps://github.com/Craigacp
Mar 30, 2021https://github.com/tensorflow/java/pull/261#issuecomment-810603156
TFE_NewContexthttps://github.com/tensorflow/tensorflow/blob/f6079ec87f01feaa9cc7a5134a8064d05944ea2a/tensorflow/c/eager/c_api.cc#L115
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.com/rnett
rnetthttps://github.com/rnett
Mar 30, 2021https://github.com/tensorflow/java/pull/261#issuecomment-810628905
Please reload this pagehttps://github.com/tensorflow/java/pull/261
rnetthttps://github.com/rnett
March 30, 2021 16:25https://github.com/tensorflow/java/pull/261#commits-pushed-6d9317f
https://github.com/rnett
Rework, automatically wrap variables in read when fetchedhttps://github.com/tensorflow/java/pull/261/commits/6d9317f8e77aacd1b9b98540dfdff66298f90dd3
6d9317fhttps://github.com/tensorflow/java/pull/261/commits/6d9317f8e77aacd1b9b98540dfdff66298f90dd3
https://github.com/rnett
Forgot to formathttps://github.com/tensorflow/java/pull/261/commits/e5d85125ffa1d9680b57e434b7d1ac2a6e47c60a
e5d8512https://github.com/tensorflow/java/pull/261/commits/e5d85125ffa1d9680b57e434b7d1ac2a6e47c60a
https://github.com/rnett
rnetthttps://github.com/rnett
Mar 30, 2021https://github.com/tensorflow/java/pull/261#issuecomment-810642854
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.com/karllessard
karllessardhttps://github.com/karllessard
Mar 31, 2021https://github.com/tensorflow/java/pull/261#issuecomment-811050665
Please reload this pagehttps://github.com/tensorflow/java/pull/261
@rnetthttps://github.com/rnett
TF_TensorDatahttps://github.com/tensorflow/java/blob/2e8f00c2f95fee75f38614ccacb665f0eb5f3250/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/internal/c_api/global/tensorflow.java#L711
1.x clienthttps://github.com/tensorflow/tensorflow/blob/04f05ec9b031bad26e858d70cb90674b1b59dc26/tensorflow/java/src/main/native/tensor_jni.cc#L500
@Craigacphttps://github.com/Craigacp
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.com/rnett
Remove obsolete methodhttps://github.com/tensorflow/java/pull/261/commits/fb5c3196eed4a2a658362b0c13469da2f09d629f
fb5c319https://github.com/tensorflow/java/pull/261/commits/fb5c3196eed4a2a658362b0c13469da2f09d629f
https://github.com/rnett
rnetthttps://github.com/rnett
Mar 31, 2021https://github.com/tensorflow/java/pull/261#issuecomment-811346055
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.com/karllessard
karllessardhttps://github.com/karllessard
Mar 31, 2021https://github.com/tensorflow/java/pull/261#issuecomment-811414437
that endpointhttps://github.com/tensorflow/java/blob/2e8f00c2f95fee75f38614ccacb665f0eb5f3250/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/Tensor.java#L180
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.com/rnett
rnetthttps://github.com/rnett
Mar 31, 2021https://github.com/tensorflow/java/pull/261#issuecomment-811478544
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.com/Craigacp
Craigacphttps://github.com/Craigacp
Apr 2, 2021 https://github.com/tensorflow/java/pull/261#pullrequestreview-626971992
View reviewed changes https://github.com/tensorflow/java/pull/261/files/fb5c3196eed4a2a658362b0c13469da2f09d629f
Craigacphttps://github.com/Craigacp
https://github.com/tensorflow/java/pull/261#pullrequestreview-626971992
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/tensorflow/java/pull/261
tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/Session.javahttps://github.com/tensorflow/java/pull/261/files/fb5c3196eed4a2a658362b0c13469da2f09d629f#diff-4f2d57fc4248b20895da2c65ea4d253be8768686708d5458042a35dd6d823afd
Please reload this pagehttps://github.com/tensorflow/java/pull/261
tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/Session.javahttps://github.com/tensorflow/java/pull/261/files/fb5c3196eed4a2a658362b0c13469da2f09d629f#diff-4f2d57fc4248b20895da2c65ea4d253be8768686708d5458042a35dd6d823afd
Please reload this pagehttps://github.com/tensorflow/java/pull/261
tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/Session.javahttps://github.com/tensorflow/java/pull/261/files/fb5c3196eed4a2a658362b0c13469da2f09d629f#diff-4f2d57fc4248b20895da2c65ea4d253be8768686708d5458042a35dd6d823afd
Please reload this pagehttps://github.com/tensorflow/java/pull/261
tensorflow-core/tensorflow-core-api/src/test/java/org/tensorflow/SessionTest.javahttps://github.com/tensorflow/java/pull/261/files/fb5c3196eed4a2a658362b0c13469da2f09d629f#diff-467d92c2a0fd6eb219fd3e91a6a2b688b20938a90d4c711bbcf3d07d24c7db7d
Please reload this pagehttps://github.com/tensorflow/java/pull/261
rnetthttps://github.com/rnett
April 3, 2021 18:13https://github.com/tensorflow/java/pull/261#commits-pushed-b40fb0c
https://github.com/rnett
Small fixeshttps://github.com/tensorflow/java/pull/261/commits/b40fb0c662bb7c57fd7a0b9fceb9703a3459771d
b40fb0chttps://github.com/tensorflow/java/pull/261/commits/b40fb0c662bb7c57fd7a0b9fceb9703a3459771d
https://github.com/rnett
Python model loading + variable fetching testhttps://github.com/tensorflow/java/pull/261/commits/a6496ce050e3bc80e2be9b1370e827a08514a72b
a6496cehttps://github.com/tensorflow/java/pull/261/commits/a6496ce050e3bc80e2be9b1370e827a08514a72b
https://github.com/rnett
rnetthttps://github.com/rnett
Craigacphttps://github.com/Craigacp
April 4, 2021 02:03https://github.com/tensorflow/java/pull/261#event-4548653064
https://github.com/Craigacp
Craigacphttps://github.com/Craigacp
Apr 5, 2021 https://github.com/tensorflow/java/pull/261#pullrequestreview-627873185
View reviewed changes https://github.com/tensorflow/java/pull/261/files/a6496ce050e3bc80e2be9b1370e827a08514a72b
Craigacphttps://github.com/Craigacp
https://github.com/tensorflow/java/pull/261#pullrequestreview-627873185
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.com/Craigacp
Craigacphttps://github.com/Craigacp
e229028https://github.com/tensorflow/java/commit/e2290285cc911632242fc15abad99931676c364a
Apr 6, 2021https://github.com/tensorflow/java/pull/261#event-4554092887
Craigacphttps://github.com/Craigacp
Apr 6, 2021 https://github.com/tensorflow/java/pull/261#ref-commit-9c1b26e
https://github.com/Craigacp
Revert "Add fetchVariable method to Session to get value of resource …https://github.com/tensorflow/java/commit/9c1b26ec583d4f3e8313e988140b2d5e01730fa3
9c1b26ehttps://github.com/tensorflow/java/commit/9c1b26ec583d4f3e8313e988140b2d5e01730fa3
#261https://github.com/tensorflow/java/pull/261
e229028https://github.com/tensorflow/java/commit/e2290285cc911632242fc15abad99931676c364a
https://github.com/Craigacp
Craigacphttps://github.com/Craigacp
Apr 6, 2021 https://github.com/tensorflow/java/pull/261#ref-pullrequest-851526972
Fetch resource variable fix #276 https://github.com/tensorflow/java/pull/276
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftensorflow%2Fjava%2Fpull%2F261
https://github.com/Craigacp
Craigacp https://github.com/Craigacp
https://github.com/tensorflow/java/pull/261/files/a6496ce050e3bc80e2be9b1370e827a08514a72b
Please reload this pagehttps://github.com/tensorflow/java/pull/261
https://github.com/rnett
https://github.com/Craigacp
https://github.com/karllessard
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.