code: def test_lengths_to_shape_ops(self):
      workspace.FeedBlob("l", np.array([200, 200, 200], dtype=np.int32))
      workspace.RunOperatorOnce(
          core.CreateOperator("LengthsToShape", ["l"], ["s"])
      )
      workspace.FeedBlob("res", np.array([3, 200], dtype=np.int32))
      assert_array_equal(
          workspace.FetchBlob("s"), workspace.FetchBlob("res")
      )
  
imports: import numpy
  from numpy.testing import assert_array_equal
  from caffe2.python import core, workspace
  from caffe2.python.test_util import TestCase
  from caffe2.proto import caffe2_pb2
label_desc: Use image node_id 1 for calling the TestLengthsToShapeOps obj's underlying member method code with example usage: obj.test_lengths_to_shape_ops() without return types