code: def test_passing_simple_from_dense(
      self, input_list, squeeze_ranks=None
  ):
      dt = constant_op.constant(input_list)
      rt = ragged_conversion_ops.from_tensor(dt)
      rt_s = ragged_squeeze_op.squeeze(rt, squeeze_ranks)
      dt_s = array_ops.squeeze(dt, squeeze_ranks)
      self.assertAllEqual(ragged_conversion_ops.to_tensor(rt_s), dt_s)
  
file_path: tensorflow/tensorflow/python/ops/ragged/ragged_squeeze_op_test.py
imports: from absl.testing import parameterized
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops.ragged import ragged_conversion_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_squeeze_op
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 3 for calling the RaggedSqueezeTest obj's underlying member method code with example usage: obj.test_passing_simple_from_dense(input_list, squeeze_ranks) without return types