René's URL Explorer Experiment


Title: Support complex parameters in Python inference by BJMCox · Pull Request #151 · flatppl/flatppl-python · GitHub

Open Graph Title: Support complex parameters in Python inference by BJMCox · Pull Request #151 · flatppl/flatppl-python

X Title: Support complex parameters in Python inference by BJMCox · Pull Request #151 · flatppl/flatppl-python

Description: Use real and imaginary coordinates for complex scalar and tensor parameters in the existing inference API. The flat view exposes real optimizer coordinates and reconstructs native complex model values. Mixed records preserve each field's dtype and shape. The transforms guide includes a runnable BlackJAX example. Tests compare both coordinate maps, component bounds, and batched gradients with analytic results. Uses the Rust chart from flatppl-rust#703.

Open Graph Description: Use real and imaginary coordinates for complex scalar and tensor parameters in the existing inference API. The flat view exposes real optimizer coordinates and reconstructs native complex model val...

X Description: Use real and imaginary coordinates for complex scalar and tensor parameters in the existing inference API. The flat view exposes real optimizer coordinates and reconstructs native complex model val...

Opengraph URL: https://github.com/flatppl/flatppl-python/pull/151

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:bd10ede4-5400-2b58-14af-39f32b8efd8a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD050:28DAC6:2BA0FFB:387DC59:6B04140A
html-safe-nonce63472959cae15ab1666c27c59b6cf570b980480a743a427f9620e271b59ec2cd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDUwOjI4REFDNjoyQkEwRkZCOjM4N0RDNTk6NkIwNDE0MEEiLCJ2aXNpdG9yX2lkIjoiODI1NDIzNjQ4NzE3NTQyNDEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacff96fefd7961b8de036e3236d27a8836459989594655216be798eae8a83c934f
hovercard-subject-tagpull_request:5395757852
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/flatppl/flatppl-python/pull/151/files
twitter:imagehttps://avatars.githubusercontent.com/u/31897579?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/31897579?s=400&v=4
og:image:altUse real and imaginary coordinates for complex scalar and tensor parameters in the existing inference API. The flat view exposes real optimizer coordinates and reconstructs native complex model val...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/flatppl/flatppl-python git https://github.com/flatppl/flatppl-python.git
octolytics-dimension-user_id272888046
octolytics-dimension-user_loginflatppl
octolytics-dimension-repository_id1407114629
octolytics-dimension-repository_nwoflatppl/flatppl-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1407114629
octolytics-dimension-repository_network_root_nwoflatppl/flatppl-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/flatppl/flatppl-python/pull/151/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fflatppl%2Fflatppl-python%2Fpull%2F151%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fflatppl%2Fflatppl-python%2Fpull%2F151%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=flatppl%2Fflatppl-python
Reloadhttps://github.com/flatppl/flatppl-python/pull/151/files
Reloadhttps://github.com/flatppl/flatppl-python/pull/151/files
Reloadhttps://github.com/flatppl/flatppl-python/pull/151/files
flatpplhttps://github.com/flatppl
flatppl-pythonhttps://github.com/flatppl/flatppl-python
Codehttps://github.com/flatppl/flatppl-python
Issueshttps://github.com/flatppl/flatppl-python/issues
Pull requests1 (1)https://github.com/flatppl/flatppl-python/pulls
Actionshttps://github.com/flatppl/flatppl-python/actions
Projectshttps://github.com/flatppl/flatppl-python/projects
Security and qualityhttps://github.com/flatppl/flatppl-python/security
Insightshttps://github.com/flatppl/flatppl-python/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fflatppl%2Fflatppl-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fflatppl%2Fflatppl-python%2Fissues%2Fnew%2Fchoose
BJMCoxhttps://github.com/BJMCox
mainhttps://github.com/flatppl/flatppl-python/tree/main
complex-inference-coordinateshttps://github.com/flatppl/flatppl-python/tree/complex-inference-coordinates
Conversation 0 https://github.com/flatppl/flatppl-python/pull/151
Commits 5 https://github.com/flatppl/flatppl-python/pull/151/commits
Checks 10 https://github.com/flatppl/flatppl-python/pull/151/checks
Files changed 10 https://github.com/flatppl/flatppl-python/pull/151/files
Support complex parameters in Python inference https://github.com/flatppl/flatppl-python/pull/151/files#top
Show all changes 5 commits https://github.com/flatppl/flatppl-python/pull/151/files
918542c Support complex coordinates in Python inference BJMCox Nov 19, 2026 https://github.com/flatppl/flatppl-python/pull/151/commits/918542c59ca4245e1e6f7ac1f1152befca1982c5
310a5b6 Pin the Rust compiler with complex coordinate charts BJMCox Nov 19, 2026 https://github.com/flatppl/flatppl-python/pull/151/commits/310a5b693672b7da8eaa8c8c2d70ad7aa1f2a681
6cf758f Pack complex coordinate leaves with typed tree operations BJMCox Nov 19, 2026 https://github.com/flatppl/flatppl-python/pull/151/commits/6cf758fdabcfb5d5f9d72d556a413ea43c54eaef
aea0a3c Merge main and retain both features in the compiler pin BJMCox Nov 19, 2026 https://github.com/flatppl/flatppl-python/pull/151/commits/aea0a3c9cfa6c98ea78c7b1ae132136dbeeb6748
e715718 Merge the Gaussian–Bernoulli wrapper from main BJMCox Nov 19, 2026 https://github.com/flatppl/flatppl-python/pull/151/commits/e71571892be6f9b000473670f536bfa75bcece43
Clear filters https://github.com/flatppl/flatppl-python/pull/151/files
Please reload this pagehttps://github.com/flatppl/flatppl-python/pull/151/files
Please reload this pagehttps://github.com/flatppl/flatppl-python/pull/151/files
CHANGELOG.md https://github.com/flatppl/flatppl-python/pull/151/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
Cargo.lock https://github.com/flatppl/flatppl-python/pull/151/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e
Cargo.toml https://github.com/flatppl/flatppl-python/pull/151/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
inference.md https://github.com/flatppl/flatppl-python/pull/151/files#diff-cc5ac966eed5070d33a20987dd3afeff45f6e475aa9bd081e35f1093531b08b0
jax.md https://github.com/flatppl/flatppl-python/pull/151/files#diff-aa3bb8a66eecc53c8b121b78f7c7d0e676418c2220b0d85190323d0bc4e011b2
transforms.md https://github.com/flatppl/flatppl-python/pull/151/files#diff-b7cdfd453c5a6d190f2c990a55cf8439815dc9ac1bb1e0a94b362110370d2dd6
_inference.py https://github.com/flatppl/flatppl-python/pull/151/files#diff-9c2655cf9d42bd30005e08176381a22d74a533b737385843d1d3dca3c63e22da
inference.py https://github.com/flatppl/flatppl-python/pull/151/files#diff-563730e41b1c888301b39963afba1fc65dead707da91c0d00cbca993707aba99
test_inference.py https://github.com/flatppl/flatppl-python/pull/151/files#diff-edf7e926ca569fb0de44159f1cb378e99c65c9cca29609bea7746e2363d06e5e
test_transforms.py https://github.com/flatppl/flatppl-python/pull/151/files#diff-0b04b14c1b4c9192c8ba11f96a80aa0b79b1a2979835a01767f7c778fdf4eaec
CHANGELOG.mdhttps://github.com/flatppl/flatppl-python/pull/151/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/flatppl/flatppl-python/blob/e71571892be6f9b000473670f536bfa75bcece43/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/flatppl/flatppl-python/pull/151/{{ revealButtonHref }}
https://github.com/flatppl/flatppl-python/pull/151/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/flatppl/flatppl-python/pull/151/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
Cargo.lockhttps://github.com/flatppl/flatppl-python/pull/151/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e
View file https://github.com/flatppl/flatppl-python/blob/e71571892be6f9b000473670f536bfa75bcece43/Cargo.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/flatppl/flatppl-python/pull/151/files
Cargo.tomlhttps://github.com/flatppl/flatppl-python/pull/151/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
View file https://github.com/flatppl/flatppl-python/blob/e71571892be6f9b000473670f536bfa75bcece43/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/flatppl/flatppl-python/pull/151/{{ revealButtonHref }}
https://github.com/flatppl/flatppl-python/pull/151/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
https://github.com/flatppl/flatppl-python/pull/151/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
docs/inference.mdhttps://github.com/flatppl/flatppl-python/pull/151/files#diff-cc5ac966eed5070d33a20987dd3afeff45f6e475aa9bd081e35f1093531b08b0
View file https://github.com/flatppl/flatppl-python/blob/e71571892be6f9b000473670f536bfa75bcece43/docs/inference.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/flatppl/flatppl-python/pull/151/{{ revealButtonHref }}
https://github.com/flatppl/flatppl-python/pull/151/files#diff-cc5ac966eed5070d33a20987dd3afeff45f6e475aa9bd081e35f1093531b08b0
docs/jax.mdhttps://github.com/flatppl/flatppl-python/pull/151/files#diff-aa3bb8a66eecc53c8b121b78f7c7d0e676418c2220b0d85190323d0bc4e011b2
View file https://github.com/flatppl/flatppl-python/blob/e71571892be6f9b000473670f536bfa75bcece43/docs/jax.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/flatppl/flatppl-python/pull/151/{{ revealButtonHref }}
https://github.com/flatppl/flatppl-python/pull/151/files#diff-aa3bb8a66eecc53c8b121b78f7c7d0e676418c2220b0d85190323d0bc4e011b2
https://github.com/flatppl/flatppl-python/pull/151/files#diff-aa3bb8a66eecc53c8b121b78f7c7d0e676418c2220b0d85190323d0bc4e011b2
docs/transforms.mdhttps://github.com/flatppl/flatppl-python/pull/151/files#diff-b7cdfd453c5a6d190f2c990a55cf8439815dc9ac1bb1e0a94b362110370d2dd6
View file https://github.com/flatppl/flatppl-python/blob/e71571892be6f9b000473670f536bfa75bcece43/docs/transforms.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/flatppl/flatppl-python/pull/151/{{ revealButtonHref }}
https://github.com/flatppl/flatppl-python/pull/151/files#diff-b7cdfd453c5a6d190f2c990a55cf8439815dc9ac1bb1e0a94b362110370d2dd6
https://github.com/flatppl/flatppl-python/pull/151/files#diff-b7cdfd453c5a6d190f2c990a55cf8439815dc9ac1bb1e0a94b362110370d2dd6
https://github.com/flatppl/flatppl-python/pull/151/files#diff-b7cdfd453c5a6d190f2c990a55cf8439815dc9ac1bb1e0a94b362110370d2dd6
python/flatppl/_inference.pyhttps://github.com/flatppl/flatppl-python/pull/151/files#diff-9c2655cf9d42bd30005e08176381a22d74a533b737385843d1d3dca3c63e22da
View file https://github.com/flatppl/flatppl-python/blob/e71571892be6f9b000473670f536bfa75bcece43/python/flatppl/_inference.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/flatppl/flatppl-python/pull/151/{{ revealButtonHref }}
https://github.com/flatppl/flatppl-python/pull/151/files#diff-9c2655cf9d42bd30005e08176381a22d74a533b737385843d1d3dca3c63e22da
https://github.com/flatppl/flatppl-python/pull/151/files#diff-9c2655cf9d42bd30005e08176381a22d74a533b737385843d1d3dca3c63e22da
https://github.com/flatppl/flatppl-python/pull/151/files#diff-9c2655cf9d42bd30005e08176381a22d74a533b737385843d1d3dca3c63e22da
https://github.com/flatppl/flatppl-python/pull/151/files#diff-9c2655cf9d42bd30005e08176381a22d74a533b737385843d1d3dca3c63e22da
https://github.com/flatppl/flatppl-python/pull/151/files#diff-9c2655cf9d42bd30005e08176381a22d74a533b737385843d1d3dca3c63e22da
https://github.com/flatppl/flatppl-python/pull/151/files#diff-9c2655cf9d42bd30005e08176381a22d74a533b737385843d1d3dca3c63e22da
https://github.com/flatppl/flatppl-python/pull/151/files#diff-9c2655cf9d42bd30005e08176381a22d74a533b737385843d1d3dca3c63e22da
https://github.com/flatppl/flatppl-python/pull/151/files#diff-9c2655cf9d42bd30005e08176381a22d74a533b737385843d1d3dca3c63e22da
https://github.com/flatppl/flatppl-python/pull/151/files#diff-9c2655cf9d42bd30005e08176381a22d74a533b737385843d1d3dca3c63e22da
https://github.com/flatppl/flatppl-python/pull/151/files#diff-9c2655cf9d42bd30005e08176381a22d74a533b737385843d1d3dca3c63e22da
Please reload this pagehttps://github.com/flatppl/flatppl-python/pull/151/files
Please reload this pagehttps://github.com/flatppl/flatppl-python/pull/151/files
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.