code: def test_make_tf_dataset():
      """Test creating a Tensorflow Iterator from a Dataset."""
      X = np.random.random((100, 5))
      y = np.random.random((100, 1))
      dataset = dc.data.NumpyDataset(X, y)
      iterator = dataset.make_tf_dataset(
          batch_size=10, epochs=2, deterministic=True
      )
      for i, (batch_X, batch_y, batch_w) in enumerate(iterator):
          offset = (i % 10) * 10
          np.testing.assert_array_equal(
              X[offset : offset + 10, :], batch_X
          )
          np.testing.assert_array_equal(
              y[offset : offset + 10, :], batch_y
          )
          np.testing.assert_array_equal(np.ones((10, 1)), batch_w)
      assert i == 19
  
imports: import random
  import math
  import unittest
  import os
  import numpy
  import pytest
  import deepchem
  import pandas
  import tempfile
label_desc: Use image node_id 24 for calling a global function with example usage: test_make_tf_dataset() without return types