from_dict

classmethod PhysicsRandomization.from_dict(d)

Creates a new PhysicsRandomization object from a dict of values.

Parameters:

d (dict[str, Any]) – A dict with keys corresponding to any of this class’s attributes.

Returns:

A new PhysicsRandomization object with the values specified by dict.

Return type:

PhysicsRandomization