code: def test_1d(self):
      mb = pm.Minibatch(self.data, batch_size=20)
      assert is_minibatch(mb)
      assert mb.eval().shape == (20, 10)
  
imports: import io
  import itertools
  import re
  import cloudpickle
  import numpy
  import pytensor
  import pytensor.tensor
  import pytest
  from pytensor import shared
  from pytensor.tensor.variable import TensorVariable
  import pymc
  from pymc.data import is_minibatch
  from pymc.pytensorf import GeneratorOp, floatX
label_desc: Use image node_id 1 for calling the TestMinibatch obj's underlying member method code with example usage: obj.test_1d() without return types