class_docstr: Regression test for code exhibiting various optimization errors.
  
  This test case is based on code by Sigurd Spieckermann.
class_docstr_tok: ["Regression","test","for","code","exhibiting","various","optimization","errors",".","This","test","case","is","based","on","code","by","Sigurd","Spieckermann","."]
code: def test_batch(self):
      # This runs fine. The batch size is set to something greater than 1,
      # i.e. the data is represented by a tensor3 object.
      self._run(100, 10, batch_size=5, mode=mode)
  
imports: from __future__ import absolute_import, print_function, division
  import numpy
  import unittest
  import theano
  from theano import config
  from theano import tensor
  from theano.scan_module.scan_op import Scan
  from theano.tests import unittest_tools
label_desc: Use image node_id 3 for calling the TestGaussNewton obj's underlying member method code with example usage: obj.test_batch() without return types