UnpackedDualTensor
- class torch.autograd.forward_ad.UnpackedDualTensor(primal, tangent)
Namedtuple returned by
unpack_dual()containing the primal and tangent components of the dual tensor.
Namedtuple returned by unpack_dual() containing the primal and tangent components of the dual tensor.
unpack_dual()Return number of occurrences of value.
Return first index of value.
Raises ValueError if the value is not present.
Alias for field number 0