MCPcopy
hub / github.com/tinygrad/tinygrad / test_exp2

Method test_exp2

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

Source from the content-addressed store, hash-verified

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
55 def test_add(self): self._test_two_input_function(lambda x,y: x+y)

Callers

nothing calls this directly

Calls 2

exp2Method · 0.80

Tested by

no test coverage detected