Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
sin
Function · 0.45
sinc
Function · 0.45
polar
Function · 0.45
cosine
Function · 0.45
bar
Method · 0.45
constrain_as_value_example
Function · 0.45
cond_predicate
Function · 0.45
null_context_manager
Function · 0.45
forward
Method · 0.45
inner_f
Function · 0.45
reference_inputs_grid_sample
Function · 0.45
random_sparse_pd_matrix
Function · 0.45
Calls
no outgoing calls
Tested by
15
test_custom_import
Method · 0.36
forward
Method · 0.36
test_graph_fns
Method · 0.36
fn
Method · 0.36
_test
Method · 0.36
f
Method · 0.36
test_composite_registered_to_cpu
Method · 0.36
forward
Method · 0.36
forward
Method · 0.36
foo_impl
Method · 0.36
fn
Method · 0.36
aot_fn
Method · 0.36