class_docstr: Most tests done in the base class LinearOperatorDerivedClassTest.
class_docstr_tok: ["Most","tests","done","in","the","base","class","LinearOperatorDerivedClassTest","."]
code: def test_non_1d_batch_shape_raises_dynamic(self):
      with self.cached_session():
          batch_shape = array_ops.placeholder_with_default(
              2, shape=None
          )
          with self.assertRaisesError("must be a 1-D"):
              operator = linalg_lib.LinearOperatorZeros(
                  num_rows=2,
                  batch_shape=batch_shape,
                  assert_proper_shapes=True,
              )
              self.evaluate(operator.to_dense())
  
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 16 for calling the LinearOperatorZerosTest obj's underlying member method code with example usage: obj.test_non_1d_batch_shape_raises_dynamic() without return types