Contents

.<(_:_:)

Computes element-wise less comparison between two tensors.

Declaration

static func .< (lhs: MLTensor, rhs: MLTensor) -> MLTensor

Return Value

A Boolean tensor where each element is true if the left hand side tensor is less than the corresponding element of the right hand side, and false otherwise.

Discussion

Shapes must be broadcastable, where the broadcasted shape becomes the shape of the output.

See Also

Performing arithmetic operations