-
Notifications
You must be signed in to change notification settings - Fork 0
GRA-191: implement pool and crossEntropyLoss #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: task33_addOp
Are you sure you want to change the base?
Conversation
|
У тебя там тесты не проходят, ты там forward не убрал |
| // WARNING: если проблемы, меняем на случай с EPS | ||
| return - 1.0f / (a(k, l, i, j)); | ||
| // return - 1.0f / (a(k, l, i, j) + EPS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
так а может чтоб проблем не было сразу на EPS поставим, ахахах, не?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
нет, у torch такого нету
| } | ||
| }; | ||
|
|
||
| class LazyBlobEntropyDerivative: public LazyBlob { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
даа, ну совсем понесло, теперь уже и производную запихиваем в, вообще то подразумевавшиеся как элементарные операции
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а производную по-другому не посчитать, очень тяжелая операция
| Blob Exp::compute(const vector<LazyBlobRef>& args) const { | ||
| args1(a); | ||
| return a.applying([](float x) { return std::exp(x); }); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а зато вот экспоната это теперь операция....
капец совсем бедную архитектуру разворатили
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а что это еще должно быть, как не операция?
724fdb1 to
b1c44e9
Compare
Artem-Goldenberg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ладно все норм, я правда не знаю куда это уже вливать ....
https://ru.yougile.com/team/b400e1850fe9/#GRA-191