class_docstr: Function that separates a given array.
class_docstr_tok: ["Function","that","separates","a","given","array","."]
code: def forward(self, inputs):
      (x,) = inputs
      self._xp = backend.get_array_module(x)
      xs = self._xp.split(x, x.shape[self.axis], self.axis)
      ys = [self._xp.squeeze(y, self.axis) for y in xs]
      self._shape = ys[0].shape
      self._dtype = x.dtype
      return tuple(ys)
  
file_path: chainer/chainer/functions/array/separate.py
imports: from chainer import backend
  from chainer import function_node
  from chainer.functions.array import stack
  from chainer.utils import type_check
label_desc: Use image node_id 3 for calling the Separate obj's underlying member method code with example usage: obj.forward(inputs) and returns: tuple