René's URL Explorer Experiment


Title: problem calculating quantile on pytensor · Issue #286 · xtensor-stack/xtensor-python · GitHub

Open Graph Title: problem calculating quantile on pytensor · Issue #286 · xtensor-stack/xtensor-python

X Title: problem calculating quantile on pytensor · Issue #286 · xtensor-stack/xtensor-python

Description: Hi, The new added xt::quantile seems not to play nicely with pytensor. For me, the following : xt::pytensor arr {{ 5.3, 4.3, 5.3 }, { 4.2, 4.2, 5.2 }, { 5.7, 4.7, 5.7 }, { 2.3, 4.3, 2.3 }}; auto q = xt::quantile(arr, {0.3, 0.7...

Open Graph Description: Hi, The new added xt::quantile seems not to play nicely with pytensor. For me, the following : xt::pytensor arr {{ 5.3, 4.3, 5.3 }, { 4.2, 4.2, 5.2 }, { 5.7, 4.7, 5.7 }, { 2.3, 4.3, 2.3 ...

X Description: Hi, The new added xt::quantile seems not to play nicely with pytensor. For me, the following : xt::pytensor<double, 2> arr {{ 5.3, 4.3, 5.3 }, { 4.2, 4.2, 5.2 }, { 5.7, 4.7, 5.7 }, { 2.3, 4.3...

Opengraph URL: https://github.com/xtensor-stack/xtensor-python/issues/286

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"problem calculating quantile on pytensor","articleBody":"Hi,\r\n\r\nThe new added `xt::quantile` seems not to play nicely with `pytensor`.\r\n\r\nFor me, the following :\r\n\r\n```cpp\r\nxt::pytensor\u003cdouble, 2\u003e arr\r\n            {{ 5.3, 4.3, 5.3 },\r\n             { 4.2, 4.2, 5.2 },\r\n             { 5.7, 4.7, 5.7 },\r\n             { 2.3, 4.3, 2.3 }};\r\n\r\nauto q = xt::quantile(arr, {0.3, 0.7}, 1);\r\n```\r\nraises :\r\n\r\n\u003e ~/xtensor/include/xtensor/xsort.hpp:463:31: error: non-constant-expression cannot be narrowed from type 'xt::xcontainer\u003cxt::pytensor\u003cdouble, 2, xt::layout_type::dynamic\u003e\u003e::size_type' (aka 'unsigned long') to 'long' in initializer list [-Wc++11-narrowing]\r\n              R ev = R::from_shape({de.size()});\r\n\r\nI am using `xtl==0.7.5`, `xtensor==0.24.4`, `xtensor-python==0.26.1`, `pybind11==2.10.3`.\r\n","author":{"url":"https://github.com/ThibHlln","@type":"Person","name":"ThibHlln"},"datePublished":"2023-01-31T14:56:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/286/xtensor-python/issues/286"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d504485b-e63a-9737-6b25-22b6e97d8415
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB144:2CE08F:3292C5E:460AD7F:696505DC
html-safe-noncee89cecc676fa3a3c81d7d27660663bfda14f5788dcc545151d1b2cdcb889452f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTQ0OjJDRTA4RjozMjkyQzVFOjQ2MEFEN0Y6Njk2NTA1REMiLCJ2aXNpdG9yX2lkIjoiNzA1NTEyMjQyNTYxMDMwNzAzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0f516663f8d9c96f5d4396530292cd87ecd78cb469b9f6ad5ab3646a3b7633a1
hovercard-subject-tagissue:1564471345
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/xtensor-stack/xtensor-python/286/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b020d2802a58c38a0e358c73db1c550f239061330a8e0c326d2fa53b62b770ba/xtensor-stack/xtensor-python/issues/286
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b020d2802a58c38a0e358c73db1c550f239061330a8e0c326d2fa53b62b770ba/xtensor-stack/xtensor-python/issues/286
og:image:altHi, The new added xt::quantile seems not to play nicely with pytensor. For me, the following : xt::pytensor arr {{ 5.3, 4.3, 5.3 }, { 4.2, 4.2, 5.2 }, { 5.7, 4.7, 5.7 }, { 2.3, 4.3, 2.3 ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameThibHlln
hostnamegithub.com
expected-hostnamegithub.com
None5ab78b37645aad755632aa5585d27672721953ada88ee2fd72e109792b528c77
turbo-cache-controlno-preview
go-importgithub.com/xtensor-stack/xtensor-python git https://github.com/xtensor-stack/xtensor-python.git
octolytics-dimension-user_id56542697
octolytics-dimension-user_loginxtensor-stack
octolytics-dimension-repository_id73431892
octolytics-dimension-repository_nwoxtensor-stack/xtensor-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id73431892
octolytics-dimension-repository_network_root_nwoxtensor-stack/xtensor-python
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
releasead8012c2b69c74234a24730a05d4683cea54801a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/xtensor-stack/xtensor-python/issues/286#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fxtensor-stack%2Fxtensor-python%2Fissues%2F286
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%2Fxtensor-stack%2Fxtensor-python%2Fissues%2F286
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=xtensor-stack%2Fxtensor-python
Reloadhttps://github.com/xtensor-stack/xtensor-python/issues/286
Reloadhttps://github.com/xtensor-stack/xtensor-python/issues/286
Reloadhttps://github.com/xtensor-stack/xtensor-python/issues/286
xtensor-stack https://github.com/xtensor-stack
xtensor-pythonhttps://github.com/xtensor-stack/xtensor-python
Notifications https://github.com/login?return_to=%2Fxtensor-stack%2Fxtensor-python
Fork 67 https://github.com/login?return_to=%2Fxtensor-stack%2Fxtensor-python
Star 364 https://github.com/login?return_to=%2Fxtensor-stack%2Fxtensor-python
Code https://github.com/xtensor-stack/xtensor-python
Issues 38 https://github.com/xtensor-stack/xtensor-python/issues
Pull requests 6 https://github.com/xtensor-stack/xtensor-python/pulls
Actions https://github.com/xtensor-stack/xtensor-python/actions
Projects 0 https://github.com/xtensor-stack/xtensor-python/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/xtensor-stack/xtensor-python/security
Please reload this pagehttps://github.com/xtensor-stack/xtensor-python/issues/286
Insights https://github.com/xtensor-stack/xtensor-python/pulse
Code https://github.com/xtensor-stack/xtensor-python
Issues https://github.com/xtensor-stack/xtensor-python/issues
Pull requests https://github.com/xtensor-stack/xtensor-python/pulls
Actions https://github.com/xtensor-stack/xtensor-python/actions
Projects https://github.com/xtensor-stack/xtensor-python/projects
Security https://github.com/xtensor-stack/xtensor-python/security
Insights https://github.com/xtensor-stack/xtensor-python/pulse
New issuehttps://github.com/login?return_to=https://github.com/xtensor-stack/xtensor-python/issues/286
New issuehttps://github.com/login?return_to=https://github.com/xtensor-stack/xtensor-python/issues/286
problem calculating quantile on pytensorhttps://github.com/xtensor-stack/xtensor-python/issues/286#top
https://github.com/ThibHlln
https://github.com/ThibHlln
ThibHllnhttps://github.com/ThibHlln
on Jan 31, 2023https://github.com/xtensor-stack/xtensor-python/issues/286#issue-1564471345
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.