eq

fun Tensor<Int>.eq(other: Tensor<Int>): Boolean(source)

Compares element-wise two int tensors

Return

true if two tensors have the same shape and elements, false otherwise.

Parameters

other

the tensor to compare with input tensor.

epsilon

permissible error when comparing two Int values.