code: def test_bool_indexing_tiles():
      t = ones((100, 200, 300), chunk_size=30)
      indexed = t[t < 2]
      indexed, t = tile(indexed, t)
  
      assert len(indexed.chunks) == 280
      assert indexed.chunks[0].index == (0,)
      assert indexed.chunks[20].index == (20,)
      assert indexed.chunks[20].inputs[0] is t.cix[(0, 2, 0)].data
      assert (
          indexed.chunks[20].inputs[1]
          is indexed.op.indexes[0].cix[0, 2, 0].data
      )
  
      t = ones((100, 200, 300), chunk_size=30)
      t2 = ones((100, 200), chunk_size=30)
      indexed2 = t[t2 < 2]
      indexed2, t = tile(indexed2, t)
  
      assert len(indexed2.chunks) == 280
      assert len(indexed2.chunks[0].shape) == 2
      assert np.isnan(indexed2.chunks[0].shape[0])
      assert indexed2.chunks[0].shape[1] == 30
      assert indexed2.chunks[20].inputs[0] == t.cix[(0, 2, 0)].data
      assert (
          indexed2.chunks[20].inputs[1]
          == indexed2.op.indexes[0].cix[0, 2].data
      )
  
imports: import numpy
  import pytest
  from ....config import option_context
  from ....core import tile
  from ...base.broadcast_to import TensorBroadcastTo
  from ...datasource import ones, tensor, array, empty
  from ...datasource.ones import TensorOnes
  from ...merge.concatenate import TensorConcatenate
  from ..None import choose, unravel_index, nonzero, compress, fill_diagonal
  from ..setitem import TensorIndexSetValue
label_desc: Use image node_id 5 for calling a global function with example usage: test_bool_indexing_tiles() without return types