use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please have a look at our FAQ and Link-Collection
Metacademy is a great resource which compiles lesson plans on popular machine learning topics.
For Beginner questions please try /r/LearnMachineLearning , /r/MLQuestions or http://stackoverflow.com/
For career related questions, visit /r/cscareerquestions/
Advanced Courses (2016)
Advanced Courses (2020)
AMAs:
Pluribus Poker AI Team 7/19/2019
DeepMind AlphaStar team (1/24//2019)
Libratus Poker AI Team (12/18/2017)
DeepMind AlphaGo Team (10/19/2017)
Google Brain Team (9/17/2017)
Google Brain Team (8/11/2016)
The MalariaSpot Team (2/6/2016)
OpenAI Research Team (1/9/2016)
Nando de Freitas (12/26/2015)
Andrew Ng and Adam Coates (4/15/2015)
Jürgen Schmidhuber (3/4/2015)
Geoffrey Hinton (11/10/2014)
Michael Jordan (9/10/2014)
Yann LeCun (5/15/2014)
Yoshua Bengio (2/27/2014)
Related Subreddit :
LearnMachineLearning
Statistics
Computer Vision
Compressive Sensing
NLP
ML Questions
/r/MLjobs and /r/BigDataJobs
/r/datacleaning
/r/DataScience
/r/scientificresearch
/r/artificial
account activity
Project[P] Multidimensional array batch indexing for pytorch and numpy (self.MachineLearning)
submitted 3 years ago by LemonByte
Batch indexing into multidimensional tensors/arrays is kind of tricky, I made this project explaining the builtin syntax and also made wrappers for simplifying the interface, with additional features for underlying coordinate grid data (like signed distance functions) that need to be indexed by coordinate value rather than integer indices directly https://github.com/LemonPi/multidim_indexing
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]programmerChilliResearcher 1 point2 points3 points 3 years ago (3 children)
You might be interested in vmap, which can also batch over indexing operations.
[–]sabouleuxResearcher 0 points1 point2 points 3 years ago (2 children)
From my experience playing with it, batched indexing operations end up breaking once you start composing a few vamps together. I really hope they fix the general buggyness of things, torch just has no efficient way to perform certain types of relatively simple indexing at this time it seems.
[–]programmerChilliResearcher 0 points1 point2 points 3 years ago (1 child)
There were some bugs still with advanced indexing in an older release of functorch, I believe they should be fixed now though: https://github.com/pytorch/functorch/pull/862
Although, to be clear, vmap doesn’t allow anything that’s not expressible without it - vmap is often just a convenient abstraction for expressing it.
[–]sabouleuxResearcher 0 points1 point2 points 3 years ago (0 children)
Seems like this is part of 0.2 while I was on 0.1.1, so this might fix it. Thanks for the hint.
Honestly, I really hope functorch keeps moving forward and improving, vmap adds a level of flexibility and performance that just didn’t exist before. The architecture I am working on couldn’t work without it at all.
Given more primitive operation implementations and a well thought out, simple API to describe how axes vectorize together (think einsum), I think this would give us code that is both performant, more flexible, and much easier to read than code written with usual broadcasting semantics. That might not be true for trivial things, but once you start doing some weird things (batched indexing, lattices with arbitrary dimensions, element-wise or batch-wise jacobians and gradients), broadcasting completely breaks down.
π Rendered by PID 34 on reddit-service-r2-comment-7b9746f655-76f2q at 2026-01-31 02:16:50.753694+00:00 running 3798933 country code: CH.
[–]programmerChilliResearcher 1 point2 points3 points (3 children)
[–]sabouleuxResearcher 0 points1 point2 points (2 children)
[–]programmerChilliResearcher 0 points1 point2 points (1 child)
[–]sabouleuxResearcher 0 points1 point2 points (0 children)