Compute the pairwise cross product.
tf.linalg.cross(
a: Annotated[Any, tf.raw_ops.Any
],
b: Annotated[Any, tf.raw_ops.Any
],
name=None
) -> Annotated[Any, tf.raw_ops.Any
]
a
and b
must be the same shape; they can either be simple 3-element vectors,
or any shape where the innermost dimension is 3. In the latter case, each pair
of corresponding 3-element vectors is cross-multiplied independently.
Returns | |
---|---|
A Tensor . Has the same type as a .
|