Element-wise least common multiple for integer tensors.
Same implementation strategy as gcd — pure-Python per
element via math.lcm, intended for utility use only.
Non-differentiable.
Parameters
Returns
TensorSame shape and dtype as input. Each element is
math.lcm(input_i, other_i).