提交 a3941cbc 编写于 作者: L liaogang

remove weak attribute for internal FPGA

上级 94b88c86
......@@ -384,17 +384,10 @@ void NeuralNetwork::setOutputGrad(const std::vector<Argument>& args) {
}
}
// extern NeuralNetwork* newCustomNeuralNetwork(
// const std::string& name, NeuralNetwork* network) __attribute__((weak));
NeuralNetwork* NeuralNetwork::newNeuralNetwork(
const std::string& name,
NeuralNetwork* rootNetwork) {
// if (newCustomNeuralNetwork) {
// return newCustomNeuralNetwork(name, rootNetwork);
// } else {
return new NeuralNetwork(name, rootNetwork);
// }
}
} // namespace paddle
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册