code: def test_matrix_band_part(self):
      x = random_ops.random_uniform([3, 4, 2, 2])
  
      for num_lower, num_upper in ((0, -1), (-1, 0), (1, 1)):
          # pylint: disable=cell-var-from-loop
          def loop_fn(i):
              return array_ops.matrix_band_part(
                  array_ops.gather(x, i),
                  num_lower=num_lower,
                  num_upper=num_upper,
              )
  
          # pylint: enable=cell-var-from-loop
  
      self._test_loop_fn(loop_fn, 3)
  
imports: from tensorflow.python.eager import backprop
  from tensorflow.python.framework import constant_op
  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 array_ops_stack
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import tensor_array_grad
  from tensorflow.python.ops.parallel_for import control_flow_ops
  from tensorflow.python.ops.parallel_for.test_util import PForTestCase
  from tensorflow.python.platform import test
label_desc: Use image node_id 33 for calling the ArrayTest obj's underlying member method code with example usage: obj.test_matrix_band_part() and returns: array_ops