class_docstr: Test cases for xla.reduce_window.
class_docstr_tok: ["Test","cases","for","xla.reduce_window","."]
code: def _reduce_window(self, operand, init, reducer, **kwargs):
      with self.session():
          placeholder = array_ops.placeholder(operand.dtype)
          with self.test_scope():
              output = xla.reduce_window(
                  placeholder, init, reducer, **kwargs
              )
          return output.eval(feed_dict={placeholder: operand})
  
file_path: tensorflow/tensorflow/compiler/tests/reduce_window_test.py
imports: import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.compiler.tf2xla.python import xla
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import function
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling the ReduceWindowTest obj's underlying member method code with example usage: obj._reduce_window(operand, init, reducer) and returns: output