tensorly.all

all(tensor)

Returns if all array elements in a tensor are True.

Parameters:tensor : tensor
Returns:bool