Python wrappers
Public Python APIs implemented by this engine symbol.Create a one-filled tensor matching a in shape, dtype, and device.
Parameters
aTensorImplPtrTensor whose metadata is mirrored.
requires_gradboolAttach a fresh autograd leaf when true.
Returns
TensorImplPtrNew leaf tensor with the same shape/dtype/device as a.