Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ exp
Method
exp
torch/_inductor/codegen/cpp.py:543–545 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
541
542
@staticmethod
543
def
exp(x):
544
# return f"Sleef_expf_u10({x})"
545
return
f
"std::exp({x})"
546
547
@staticmethod
548
def
exp2(x):
Callers
15
exp
Function · 0.45
logsumexp
Function · 0.45
logaddexp
Function · 0.45
log_normal
Function · 0.45
softplus
Function · 0.45
poisson_nll_loss
Function · 0.45
_bsr_softmax_kernel
Function · 0.45
softplus_backward
Function · 0.45
elu_backward
Function · 0.45
gelu_backward
Function · 0.45
silu_backward
Function · 0.45
log_sigmoid_backward
Function · 0.45
Calls
no outgoing calls
Tested by
15
testEqFloat
Method · 0.36
fn_test_exp
Method · 0.36
f
Method · 0.36
test_exp_slow
Method · 0.36
test_mish
Method · 0.36
test_exp
Method · 0.36
test_current_graph_task_execution_order
Method · 0.36
get_ref
Method · 0.36
test_checkpointing_without_reentrant_with_context_fn
Method · 0.36
save_3_tensors
Method · 0.36
save_2_tensors
Method · 0.36
foo
Method · 0.36