class_docstr: Most tests done in the base class LinearOperatorDerivedClassTest.
class_docstr_tok: ["Most","tests","done","in","the","base","class","LinearOperatorDerivedClassTest","."]
code: def test_ref_type_shape_args_raises(self):
      with self.assertRaisesRegex(
          TypeError, "num_rows.cannot.be.reference"
      ):
          linalg_lib.LinearOperatorZeros(
              num_rows=variables_module.Variable(2)
          )
  
      with self.assertRaisesRegex(
          TypeError, "num_columns.cannot.be.reference"
      ):
          linalg_lib.LinearOperatorZeros(
              num_rows=2, num_columns=variables_module.Variable(3)
          )
  
      with self.assertRaisesRegex(
          TypeError, "batch_shape.cannot.be.reference"
      ):
          linalg_lib.LinearOperatorZeros(
              num_rows=2, batch_shape=variables_module.Variable([2])
          )
  
imports: import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops.linalg import linalg
  from tensorflow.python.ops.linalg import linear_operator_test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 22 for calling the LinearOperatorZerosTest obj's underlying member method code with example usage: obj.test_ref_type_shape_args_raises() without return types