Skip to content

Conversation

@Maxon081102
Copy link
Contributor

@Artem-Goldenberg
Copy link
Contributor

У тебя там тесты не проходят, ты там forward не убрал

Comment on lines +611 to +613
// WARNING: если проблемы, меняем на случай с EPS
return - 1.0f / (a(k, l, i, j));
// return - 1.0f / (a(k, l, i, j) + EPS);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

так а может чтоб проблем не было сразу на EPS поставим, ахахах, не?

Copy link
Contributor Author

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 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

даа, ну совсем понесло, теперь уже и производную запихиваем в, вообще то подразумевавшиеся как элементарные операции

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а производную по-другому не посчитать, очень тяжелая операция

Comment on lines +277 to +280
Blob Exp::compute(const vector<LazyBlobRef>& args) const {
args1(a);
return a.applying([](float x) { return std::exp(x); });
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а зато вот экспоната это теперь операция....
капец совсем бедную архитектуру разворатили

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а что это еще должно быть, как не операция?

Copy link
Contributor

@Artem-Goldenberg Artem-Goldenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ладно все норм, я правда не знаю куда это уже вливать ....

@Artem-Goldenberg Artem-Goldenberg added the do not merge DO NOT MERGE!!!! label Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge DO NOT MERGE!!!!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants