bgdev.utils.shape¶
Utility methods for shapes.
- created
05/03/2017
- author
Benoit Gielly <benoit.gielly@gmail.com>
-
get_shapes
(node, intermediate=False, exclusive=False)[source]¶ Get the shapes of given node.
- Parameters
node (str) – Node to query its shapes
intermediate (bool) – Get intermediate shapes when True.
exclusive (bool) – Only return the intermediate shapes if True. Please note that the intermediate flag must be True as well.
- Returns
The shapes found below given node.
- Return type
list