MCPcopy Create free account
hub / github.com/pytorch/pytorch / sin

Method sin

torch/_inductor/codegen/cpp.py:531–532  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

529
530 @staticmethod
531 def sin(x):
532 return f"std::sin({x})"
533
534 @staticmethod
535 def cos(x):

Callers 15

sinFunction · 0.45
sincFunction · 0.45
polarFunction · 0.45
cosineFunction · 0.45
barMethod · 0.45
cond_predicateFunction · 0.45
null_context_managerFunction · 0.45
forwardMethod · 0.45
inner_fFunction · 0.45
random_sparse_pd_matrixFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_custom_importMethod · 0.36
forwardMethod · 0.36
test_graph_fnsMethod · 0.36
fnMethod · 0.36
_testMethod · 0.36
fMethod · 0.36
forwardMethod · 0.36
forwardMethod · 0.36
foo_implMethod · 0.36
fnMethod · 0.36
aot_fnMethod · 0.36