MCPcopy 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

expFunction · 0.45
logsumexpFunction · 0.45
logaddexpFunction · 0.45
log_normalFunction · 0.45
softplusFunction · 0.45
poisson_nll_lossFunction · 0.45
_bsr_softmax_kernelFunction · 0.45
softplus_backwardFunction · 0.45
elu_backwardFunction · 0.45
gelu_backwardFunction · 0.45
silu_backwardFunction · 0.45
log_sigmoid_backwardFunction · 0.45

Calls

no outgoing calls

Tested by 15

testEqFloatMethod · 0.36
fn_test_expMethod · 0.36
fMethod · 0.36
test_exp_slowMethod · 0.36
test_mishMethod · 0.36
test_expMethod · 0.36
get_refMethod · 0.36
save_3_tensorsMethod · 0.36
save_2_tensorsMethod · 0.36
fooMethod · 0.36