code: def test3D(self):
      for dtype in self.numeric_types:
          with self.session():
              i = array_ops.placeholder(dtype, shape=[3, 3, 10])
              with self.test_scope():
                  o = array_ops.slice(i, [1, 2, 2], [1, 1, 4])
              params = {
                  i: [
                      [
                          [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
                          [9, 8, 7, 6, 5, 4, 3, 2, 1, 0],
                          [5, 3, 1, 7, 9, 2, 4, 6, 8, 0],
                      ],
                      [
                          [5, 5, 5, 5, 5, 5, 5, 5, 5, 5],
                          [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
                          [8, 7, 6, 5, 4, 3, 2, 1, 8, 7],
                      ],
                      [
                          [7, 5, 7, 5, 7, 5, 7, 5, 7, 5],
                          [1, 2, 1, 2, 1, 2, 1, 2, 1, 2],
                          [9, 8, 7, 9, 8, 7, 9, 8, 7, 9],
                      ],
                  ]
              }
              result = o.eval(feed_dict=params)
  
              self.assertAllEqual([[[6, 5, 4, 3]]], result)
  
imports: from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 3 for calling the SliceTest obj's underlying member method code with example usage: obj.test3D() without return types