code: def testCreateShapeFromNumpy1D(self):
      shape = xla_shape.CreateShapeFromNumpy(NumpyArrayF32([1.1, 2.2]))
      self.assertShape(shape, [2], xla_data_pb2.F32)
      self.assertLayout(shape.layout(), [0])
  
file_path: tensorflow-upstream/third_party/xla/xla/python_api/xla_shape_test.py
imports: from absl.testing import absltest
  import numpy
  from local_xla.xla import xla_data_pb2
  from xla.python_api import xla_shape
label_desc: Use image node_id 4 for calling the CreateShapeFromNumpyTest obj's underlying member method code with example usage: obj.testCreateShapeFromNumpy1D() without return types