About 3,000,000 results
Open links in new tab
  1. correct and efficient way to flatten array in numpy in python?

    46 You might need to check out numpy.flatten and numpy.ravel, both return a 1-d array from an n-d array. Furthermore, if you're not going to modify the returned 1-d array, I suggest you use …

  2. How to 'Flatten' in Adobe Acrobat Pro DC

    Jan 6, 2016 · We recently purchased Adobe Acrobat Pro DC and I'm trying to figure out how to take a document that I added a stamp to and flatten it so our users cannot delete the stamp from it. I have …

  3. python - Understanding torch.nn.Flatten - Stack Overflow

    May 9, 2021 · For example, if you have a batch of images and you call torch.nn.Flatten, the typical use case would be to flatten each image separately, and not flatten the whole batch. If you do want to …

  4. How do I make a flat list out of a list of lists? - Stack Overflow

    If your list of lists comes from a nested list comprehension, the problem can be solved more simply/directly by fixing the comprehension; please see How can I get a flat result from a list …

  5. Solved: Problem Flattening a PDF - Adobe Product Community

    Sep 25, 2025 · Solved: I recently encountered a problem when trying to flatten a PDF. I successfully flattened one a month ago, but now I am having issues. These are the - 12695382

  6. What is the role of "Flatten" in Keras? - Stack Overflow

    The role of the Flatten layer in Keras is super simple: A flatten operation on a tensor reshapes the tensor to have the shape that is equal to the number of elements contained in tensor non including the …

  7. Difference between LATERAL FLATTEN(...) and TABLE(FLATTEN(...)) in ...

    Dec 3, 2020 · What is the difference between the use of LATERAL FLATTEN(...) and TABLE(FLATTEN(...)) in Snowflake? I checked the documentation on FLATTEN, LATERAL and …

  8. What is the difference between flatten and ravel functions in numpy?

    The current API is that: flatten always returns a copy. ravel returns a contiguous view of the original array whenever possible. This isn't visible in the printed output, but if you modify the array returned …

  9. How to flatten only some dimensions of a numpy array

    Sep 12, 2013 · Is there a quick way to "sub-flatten" or flatten only some of the first dimensions in a numpy array? For example, given a numpy array of dimensions (50,100,25), the resultant …

  10. python - Flatten an irregular (arbitrarily nested) list of lists ...

    Feb 27, 2015 · Yes, I know this subject has been covered before: Python idiom to chain (flatten) an infinite iterable of finite iterables? Flattening a shallow list in Python Comprehension for flattening a …