rofunc.utils.datalab.poselib.poselib.core.tensor_utils#

1.  Module Contents#

1.1.  Classes#

TensorUtils

1.2.  Functions#

tensor_to_dict

Construct an ordered dictionary from the object

1.3.  API#

class rofunc.utils.datalab.poselib.poselib.core.tensor_utils.TensorUtils[source]#

Bases: rofunc.utils.datalab.poselib.poselib.core.backend.Serializable

classmethod from_dict(dict_repr, *args, **kwargs)[source]#

Read the object from an ordered dictionary

Parameters:
  • dict_repr (OrderedDict) – the ordered dictionary that is used to construct the object

  • kwargs (additional arguments) – the arguments that need to be passed into from_dict()

to_dict()[source]#

Construct an ordered dictionary from the object

Return type:

OrderedDict

rofunc.utils.datalab.poselib.poselib.core.tensor_utils.tensor_to_dict(x)[source]#

Construct an ordered dictionary from the object

Return type:

OrderedDict