class_docstr: Tests for reshaping 0-sized SparseTensors, compared w/ dense tensors.
class_docstr_tok: ["Tests","for","reshaping","0-sized","SparseTensors",",","compared","w\/","dense","tensors","."]
code: def testImpliedReshapeEmpty1DTensor(self, tensor_class):
      self.assertAllEqual(
          self._MakeAndReshapeTensor(tensor_class, [0], [-1, 1]), [0, 1]
      )
      self.assertAllEqual(
          self._MakeAndReshapeTensor(tensor_class, [0], [-1, 1, 2]),
          [0, 1, 2],
      )
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import sparse_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the EmptySparseTensorReshapeTest obj's underlying member method code with example usage: obj.testImpliedReshapeEmpty1DTensor(tensor_class) without return types