code: def test_dynamic(self):
      if tf.executing_eagerly():
          return
      x = tf1.placeholder_with_default(np.arange(5), shape=None)
      self.assertAllEqual(
          [0, 3, 4], self.evaluate(ps.setdiff1d(x, [1, 2]))
      )
      x = tf1.placeholder_with_default(
          np.array([], np.int32), shape=None
      )
      self.assertAllEqual([], self.evaluate(ps.setdiff1d(x, [1, 2])))
      self.assertAllEqual(
          [1, 2], self.evaluate(ps.setdiff1d([1, 2], x))
      )
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 2 for calling the SetDiff1DTest obj's underlying member method code with example usage: obj.test_dynamic() without return types