code: def test_numpy_dataset_get_shape():
      """Test that get_shape works for numpy datasets."""
      num_datapoints = 100
      num_features = 10
      num_tasks = 10
      # Generate data
      X = np.random.rand(num_datapoints, num_features)
      y = np.random.randint(2, size=(num_datapoints, num_tasks))
      w = np.random.randint(2, size=(num_datapoints, num_tasks))
      ids = np.array(["id"] * num_datapoints)
  
      dataset = dc.data.NumpyDataset(X, y, w, ids)
  
      X_shape, y_shape, w_shape, ids_shape = dataset.get_shape()
      assert X_shape == X.shape
      assert y_shape == y.shape
      assert w_shape == w.shape
      assert ids_shape == ids.shape
  
file_path: deepchem/deepchem/data/tests/test_shape.py
imports: import deepchem
  import numpy
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: test_numpy_dataset_get_shape() without return types