Skip to content
Snippets Groups Projects
Commit 886a9f95 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Removed wrong assertations

parent ccaa0293
No related branches found
No related tags found
2 merge requests!790.6.1,!78Removed wrong assertations
Pipeline #72885 failed
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
void Aidge::FCImpl_cuda::forward() { void Aidge::FCImpl_cuda::forward() {
AIDGE_ASSERT(mOp.getRawInput(0), "missing input #0"); AIDGE_ASSERT(mOp.getRawInput(0), "missing input #0");
AIDGE_ASSERT(mOp.getRawInput(1), "missing input #1"); AIDGE_ASSERT(mOp.getRawInput(1), "missing input #1");
AIDGE_ASSERT(mOp.getRawInput(2), "missing input #2");
const auto& fcOp = static_cast<const FC_Op&>(mOp); const auto& fcOp = static_cast<const FC_Op&>(mOp);
std::size_t outChannels = fcOp.outChannels(); std::size_t outChannels = fcOp.outChannels();
...@@ -119,7 +118,6 @@ void Aidge::FCImpl_cuda::backward() { ...@@ -119,7 +118,6 @@ void Aidge::FCImpl_cuda::backward() {
AIDGE_ASSERT(mOp.getRawInput(0), "missing input #0"); AIDGE_ASSERT(mOp.getRawInput(0), "missing input #0");
AIDGE_ASSERT(mOp.getRawInput(1), "missing input #1"); AIDGE_ASSERT(mOp.getRawInput(1), "missing input #1");
AIDGE_ASSERT(mOp.getRawInput(2), "missing input #2");
const auto& fcOp = static_cast<const FC_Op&>(mOp); const auto& fcOp = static_cast<const FC_Op&>(mOp);
std::size_t outChannels = fcOp.outChannels(); std::size_t outChannels = fcOp.outChannels();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment