mani_skill.utils.tree#

Functions#

cat(x)

replace(x, i, y)

shape(x[, first_only])

Get the shape of leaf items in a tree. If first_only is True, return the shape of the first item only

slice(x, i)

Module Contents#

mani_skill.utils.tree.cat(x)[source]#
Parameters:

x (list) –

mani_skill.utils.tree.replace(x, i, y)[source]#
mani_skill.utils.tree.shape(x, first_only=False)[source]#

Get the shape of leaf items in a tree. If first_only is True, return the shape of the first item only

mani_skill.utils.tree.slice(x, i)[source]#