micrograd icon indicating copy to clipboard operation
micrograd copied to clipboard

Add exp to engine.Value

Open ritesh99rakesh opened this issue 4 years ago • 3 comments

I have added exp function using math.exp in micrograd/engine.py

I will add tests once the changes are approved.

@karpathy, please review

ritesh99rakesh avatar Apr 23 '20 19:04 ritesh99rakesh

There is pow method. Why still needs this method? Just curious.

wangcongcong123 avatar Apr 24 '20 20:04 wangcongcong123

because pow currently requires the second argument to be an int/float.

karpathy avatar Apr 25 '20 00:04 karpathy