Creation operations#
Tensor-creation functions in genesis.grad.creation_ops that produce Genesis World tensors compatible with differentiable simulation. For the workflow, see Differentiable simulation.
- genesis.grad.creation_ops.from_torch(torch_tensor, dtype=None, requires_grad=False, detach=True, scene=None)[source]#
By default, detach is True, meaning that this function returns a new leaf tensor which is not connected to torch_tensor’s computation gragh.
See also#
Tensor: the differentiable tensor class.
Differentiable simulation: the differentiable-simulation workflow.