Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I have a noice question here: how to interpret [...,::-1,::-1]. '...' is usually the complete range Commented Feb 20, 2017 at 13:57
  • 1
    @blackbug Well I would refer you to this post. Exerpt from it that's relevant here : "Ellipsis (...) is used here to indicate a placeholder for the rest of the array dimensions not specified. ". Thus, we are using that ellipsis to indicate the first two axes, as we are specifying the last two axes with ::-1 each in that 4D array. Commented Feb 20, 2017 at 14:01