lib/tensor_stream/ops.rb
def setdiff1d(x, y, index_dtype: :int32, name: nil)
      result = _op(:setdiff1d, x, y, index_dtype: index_dtype, name: name)
      [result[0], result[1]]
    end
def setdiff1d(x, y, index_dtype: :int32, name: nil)
      result = _op(:setdiff1d, x, y, index_dtype: index_dtype, name: name)
      [result[0], result[1]]
    end
Computes the difference between two lists of numbers or strings.
 Given a list x and a list y, this operation returns a list out that represents all values
 that are in x but not in y. The returned list out is sorted in the same order that the numbers appear
 in x (duplicates are preserved). This operation also returns a list idx that represents the position of
 each out element in x. In other words: