code: def testSqueeze(self):
      net = core.Net("sq")
      net.Squeeze(["data"], ["data_squeezed"], dims=[3, 1])
      (shapes, types) = workspace.InferShapesAndTypes(
          [net], {"data": [64, 1, 96, 1, 4]}
      )
      self.assertEqual(shapes["data_squeezed"], [64, 96, 4])
  
imports: import numpy
  import unittest
  from caffe2.proto import caffe2_pb2
  from caffe2.python import core, workspace, test_util, model_helper, brew, build
label_desc: Use image node_id 24 for calling the TestShapeInference obj's underlying member method code with example usage: obj.testSqueeze() without return types