torch.linalg.cross
torch.linalg.cross(input, other, *, dim=- 1, out=None) -> Tensor
Computes the cross product of two 3-dimensional vectors.
Supports input of float, double, cfloat and cdouble dtypes. Also
   supports batches of vectors, for which it computes the product
   along the dimension "dim". It broadcasts over the batch dimensions.
Parameters:
      * input (Tensor) -- the first input tensor.
  * **other** (*Tensor*) -- the second input tensor.

  * **dim** (*int**, **optional*) -- the dimension along which to
    take the cross-product. Default: *-1*.

Keyword Arguments:
      out (Tensor, optional) -- the output tensor. Ignored
      if None. Default: None.
-[ Example ]-



a = torch.randn(4, 3)
a
   tensor([[-0.3956,  1.1455,  1.6895],
           [-0.5849,  1.3672,  0.3599],
           [-1.1626,  0.7180, -0.0521],
           [-0.1339,  0.9902, -2.0225]])
b = torch.randn(4, 3)
b


