remove weak attribute for internal FPGA

avx_docs
liaogang 9 years ago
parent 94b88c8669
commit a3941cbc1f

@ -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

Loading…
Cancel
Save