<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title>Bing: Shape of Tree in Python Turtle</title><link>http://www.bing.com:80/search?q=Shape+of+Tree+in+Python+Turtle</link><description>Search results</description><image><url>http://www.bing.com:80/s/a/rsslogo.gif</url><title>Shape of Tree in Python Turtle</title><link>http://www.bing.com:80/search?q=Shape+of+Tree+in+Python+Turtle</link></image><copyright>Copyright © 2026 Microsoft. All rights reserved. These XML results may not be used, reproduced or transmitted in any manner or for any purpose other than rendering Bing results within an RSS aggregator for your personal, non-commercial use. Any other use of these results requires express written permission from Microsoft Corporation. By accessing this web page or using these results in any manner whatsoever, you agree to be bound by the foregoing restrictions.</copyright><item><title>python - What does .shape [] do in "for i in range (Y.shape [0 ...</title><link>https://stackoverflow.com/questions/10200268/what-does-shape-do-in-for-i-in-rangey-shape0</link><description>The shape attribute for numpy arrays returns the dimensions of the array. If Y has n rows and m columns, then Y.shape is (n,m). So Y.shape[0] is n.</description><pubDate>Mon, 13 Apr 2026 14:22:00 GMT</pubDate></item><item><title>Difference between numpy.array shape (R, 1) and (R,)</title><link>https://stackoverflow.com/questions/22053050/difference-between-numpy-array-shape-r-1-and-r</link><description>Shape n, expresses the shape of a 1D array with n items, and n, 1 the shape of a n-row x 1-column array. (R,) and (R,1) just add (useless) parentheses but still express respectively 1D and 2D array shapes, Parentheses around a tuple force the evaluation order and prevent it to be read as a list of values (e.g. in function calls).</description><pubDate>Mon, 13 Apr 2026 17:50:00 GMT</pubDate></item><item><title>arrays - what does numpy ndarray shape do? - Stack Overflow</title><link>https://stackoverflow.com/questions/47564495/what-does-numpy-ndarray-shape-do</link><description>yourarray.shape or np.shape() or np.ma.shape() returns the shape of your ndarray as a tuple; And you can get the (number of) dimensions of your array using yourarray.ndim or np.ndim(). (i.e. it gives the n of the ndarray since all arrays in NumPy are just n-dimensional arrays (shortly called as ndarray s)) For a 1D array, the shape would be (n,) where n is the number of elements in your array ...</description><pubDate>Sun, 12 Apr 2026 04:15:00 GMT</pubDate></item><item><title>What does shape[0] and shape[1] do in python? - Stack Overflow</title><link>https://stackoverflow.com/questions/51455927/what-does-shape0-and-shape1-do-in-python</link><description>In python shape[0] returns the dimension but in this code it is returning total number of set. Please can someone tell me work of shape[0] and shape[1]? Code: m_train = train_set_x_orig.shape[0]</description><pubDate>Wed, 15 Apr 2026 07:39:00 GMT</pubDate></item><item><title>python - x.shape [0] vs x [0].shape in NumPy - Stack Overflow</title><link>https://stackoverflow.com/questions/48134598/x-shape0-vs-x0-shape-in-numpy</link><description>On the other hand, x.shape is a 2-tuple which represents the shape of x, which in this case is (10, 1024). x.shape[0] gives the first element in that tuple, which is 10. Here's a demo with some smaller numbers, which should hopefully be easier to understand.</description><pubDate>Mon, 13 Apr 2026 16:38:00 GMT</pubDate></item><item><title>I keep getting the same error when using input_dim and input_shape</title><link>https://stackoverflow.com/questions/79299549/i-keep-getting-the-same-error-when-using-input-dim-and-input-shape</link><description>When using Sequential models, prefer using an Input(shape) object as the first layer in the model instead.'? This is a warning, not an error, and it also tells you how to fix it.</description><pubDate>Sun, 12 Apr 2026 05:34:00 GMT</pubDate></item><item><title>python - 'list' object has no attribute 'shape' - Stack Overflow</title><link>https://stackoverflow.com/questions/21015674/list-object-has-no-attribute-shape</link><description>8 list object in python does not have 'shape' attribute because 'shape' implies that all the columns (or rows) have equal length along certain dimension. Let's say list variable a has following properties:</description><pubDate>Sun, 12 Apr 2026 17:01:00 GMT</pubDate></item><item><title>numpy: "size" vs. "shape" in function arguments? - Stack Overflow</title><link>https://stackoverflow.com/questions/44804965/numpy-size-vs-shape-in-function-arguments</link><description>Shape (in the numpy context) seems to me the better option for an argument name. The actual relation between the two is size = np.prod(shape) so the distinction should indeed be a bit more obvious in the arguments names.</description><pubDate>Tue, 14 Apr 2026 06:43:00 GMT</pubDate></item><item><title>python - shape mismatch: indexing arrays could not be broadcast ...</title><link>https://stackoverflow.com/questions/46124469/shape-mismatch-indexing-arrays-could-not-be-broadcast-together-with-shapes</link><description>14 When accessing a numpy multi-dimensional array with other multi-dimensional arrays of integer type the arrays used for the indices need to have the same shape. Numpy will happily broadcast, if possible - but for that to be possible the arrays need to have the same dimensionality, e.g. this works:</description><pubDate>Mon, 13 Apr 2026 14:37:00 GMT</pubDate></item><item><title>python - ValueError: shape mismatch: objects cannot be broadcast to a ...</title><link>https://stackoverflow.com/questions/16950074/valueerror-shape-mismatch-objects-cannot-be-broadcast-to-a-single-shape</link><description>ValueError: shape mismatch: objects cannot be broadcast to a single shape It computes the first two (I am running several thousand of these tests in a loop) and then dies.</description><pubDate>Sun, 12 Apr 2026 18:20:00 GMT</pubDate></item></channel></rss>