MCPcopy
hub / github.com/tinygrad/tinygrad / imageh

Method imageh

tinygrad/dtype.py:206–206  ·  view source on GitHub ↗
(shp)

Source from the content-addressed store, hash-verified

204 # NOTE: these are image dtypes
205 @staticmethod
206 def imageh(shp): return ImageDType(100, 16, "imageh", 'e', 1, None, dtypes.float32, AddrSpace.GLOBAL, 1, prod(shp), shp)
207 @staticmethod
208 def imagef(shp): return ImageDType(100, 32, "imagef", 'f', 1, None, dtypes.float32, AddrSpace.GLOBAL, 1, prod(shp), shp)
209

Callers 6

test_image_scalarMethod · 0.80
test_image_vecMethod · 0.80
test_image_neMethod · 0.80
vision_conv_143Function · 0.80
vision_conv_153Function · 0.80
dm_conv_172Function · 0.80

Calls 2

prodFunction · 0.90
ImageDTypeClass · 0.85

Tested by 3

test_image_scalarMethod · 0.64
test_image_vecMethod · 0.64
test_image_neMethod · 0.64