MCPcopy
hub / github.com/tinygrad/tinygrad / dtype.py

File dtype.py

tinygrad/dtype.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from __future__ import annotations
2from typing import Final, ClassVar, Callable, Literal
3import math, struct, ctypes, functools
4from dataclasses import dataclass, fields

Callers

nothing calls this directly

Calls 7

getenvFunction · 0.90
InvalidTypeClass · 0.85
float_to_bf16Function · 0.85
fp8_to_floatFunction · 0.85
float_to_fp8Function · 0.85
is_floatMethod · 0.80
cFunction · 0.50

Tested by

no test coverage detected