generated from freudenreichan/info2Praktikum-NeuronalesNetz
Kommentar Fix
This commit is contained in:
1 parent
fafbda4b03
commit
bae72f4a17
1 file changed
+3
-3
+3
-3
@@ -78,11 +78,11 @@ Matrix add(const Matrix matrix1, const Matrix matrix2)
|
||||
|
||||
if(matrix1.buffer != NULL && matrix2.buffer != NULL){
|
||||
if(haveSameDimensions(matrix1, matrix2)){
|
||||
result = NULL; //addElementwise
|
||||
// result = NULL; //addElementwise
|
||||
} else if(isBroadcastable(matrix1, matrix2)) { // Check ob Matrix2 ein Vector ist
|
||||
result = NULL; //addBroadcast
|
||||
// result = NULL; //addBroadcast
|
||||
} else if(isBroadcastable(matrix1, matrix2)) { // Check ob Matrix2 ein Vector ist
|
||||
result = NULL; //addBroadcast
|
||||
// result = NULL; //addBroadcast
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in new issue
Block a user