MCPcopy
hub / github.com/tinygrad/tinygrad / test_sin

Method test_sin

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

Source from the content-addressed store, hash-verified

47 # unary ops unit
48 def test_recip(self): self._test_one_input_function(lambda x: 1.0/x)
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())

Callers

nothing calls this directly

Calls 2

sinMethod · 0.80

Tested by

no test coverage detected