sponge.function.quaternion_inverse

View Source On Gitee
sponge.function.quaternion_inverse(tensor_1)[source]

Get the quaternion conjugate of the given tensor.

Parameters

tensor_1 (Tensor) – A tensor to calculate.

Returns

tensor_2(Tensor), The multiplication result with shape (B, 4).