Skip to content

Conversation

@jeffdonahue
Copy link
Contributor

Computes y = base ^ (scale * x + shift), with a default of base == -1 to set the base to e, for the actual exp function.

@jeffdonahue jeffdonahue force-pushed the exp-layer branch 7 times, most recently from 23cb79a to 1a612be Compare October 2, 2014 20:05
@jeffdonahue
Copy link
Contributor Author

Will probably merge this soon if nobody objects.

If you happened to look at this more than a few hours ago, I had added a caffe_*_add_scalar methods with different source/dest data pointers (the current version is "in-place"), but I've since removed that commit and changed to precomputing base^shift and scaling the exp result (since scal, unlike add_scalar, is actually a BLAS function so presumably faster).

@shelhamer
Copy link
Member

Sounds good!

On Thu, Oct 2, 2014 at 5:52 PM, Jeff Donahue notifications@github.com
wrote:

Will probably merge this soon if nobody objects.

If you happened to look at this more than a few hours ago, I had added a
caffe_*_add_scalar methods with different source/dest data pointers (the
current version is "in-place"), but I've since removed that commit and
changed to precomputing base^shift and scaling the exp result (since scal,
unlike add_scalar, is actually a BLAS function so presumably faster).


Reply to this email directly or view it on GitHub
#1204 (comment).

jeffdonahue added a commit that referenced this pull request Oct 3, 2014
@jeffdonahue jeffdonahue merged commit b84009e into BVLC:dev Oct 3, 2014
mitmul pushed a commit to mitmul/caffe that referenced this pull request Oct 11, 2014
RazvanRanca pushed a commit to RazvanRanca/caffe that referenced this pull request Nov 4, 2014
@jeffdonahue jeffdonahue deleted the exp-layer branch January 20, 2015 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants