About 2,970,000 results
Open links in new tab
  1. python - Flattening a list of NumPy arrays? - Stack Overflow

    Nov 15, 2015 · Here flatten demonstrates piecewise linear complexity which can be reasonably explained by it making a copy of the initial array compare to constant complexities of ravel and …

  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 …

  3. 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 …

  4. When would you use `flatten ()` instead of`reshape (-1)`?

    Sep 8, 2019 · 11 Often, when numpy has seemingly duplicate functions, there often ends up being some sort of unique purpose for one or the other. I am trying to figure out if there are …

  5. How to flatten nested array in javascript? - Stack Overflow

    Dec 3, 2014 · There are three utility functions in lodash related to your question flatten, flattenDeep, flattenDepth in lodash. flatten goes into a single depth, flattenDeep goes all the …

  6. 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

  7. 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 …

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

    May 9, 2021 · It is a difference in the default behaviour. torch.flatten flattens all dimensions by default, while torch.nn.Flatten flattens all dimensions starting from the second dimension …

  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. What is the difference between flatten and ravel functions in numpy?

    flatten is a method of an ndarray object and hence can only be called for true numpy arrays. ravel is a library-level function and hence can be called on any object that can successfully be parsed.