MCPcopy
hub / github.com/tinygrad/tinygrad / test_log2

Method test_log2

test/null/test_gradient.py:51–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49 def test_sin(self): self._test_one_input_function(lambda x: x.sin())
50 def test_sqrt(self): self._test_one_input_function(lambda x: x.sqrt())
51 def test_log2(self): self._test_one_input_function(lambda x: x.log2())
52 def test_exp2(self): self._test_one_input_function(lambda x: x.exp2())
53
54 # binary ops unit

Callers

nothing calls this directly

Calls 2

log2Method · 0.80

Tested by

no test coverage detected