code: def testDtypeForCoreType(self):
      dtype = schema.dtype_for_core_type(core.DataType.FLOAT16)
      self.assertEqual(dtype, np.float16)
  
      with self.assertRaises(TypeError):
          schema.dtype_for_core_type(100)
  
imports: from caffe2.python import core, schema
  import numpy
  import unittest
  import pickle
  import random
label_desc: Use image node_id 28 for calling the TestDB obj's underlying member method code with example usage: obj.testDtypeForCoreType() without return types