This commit reverts remaining commented LOG codes to original.
Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
int CompilationBuilder::finish() {
if (mFinished) {
- // TODO-NNRT Uncomment when LOG is available
- // LOG(ERROR) << "ANeuralNetworksCompilation_finish called more than once";
+ LOG(ERROR) << "ANeuralNetworksCompilation_finish called more than once";
return ANEURALNETWORKS_BAD_STATE;
}
// TODO validate the rest
#include "ModelBuilder.h"
#include "Memory.h"
-#include <iostream>
#include <memory>
// TODO-NNRT Include these files once availible
int ANeuralNetworksModel_create(ANeuralNetworksModel** model) {
if (!model) {
- std::cout << "ANeuralNetworksModel_create passed a nullptr" << std::endl;
+ LOG(ERROR) << "ANeuralNetworksModel_create passed a nullptr";
return ANEURALNETWORKS_UNEXPECTED_NULL;
}
ModelBuilder* m = new ModelBuilder();