You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Paddle/paddle/framework/net.cc

21 lines
411 B

#include "paddle/framework/net.h"
namespace paddle {
namespace framework {
PlainNet::PlainNet(const NetDesc& def) {}
void PlainNet::InferShape(Scope* scope) {
for (auto& op : ops_) {
op.InferShape();
}
}
void PlainNet::Run(Scope* scope, OpContext* context, OpIndex begin,
OpIndex end) const {
// TODO Add implementation here.
}
} // namespace framework
} // namespace paddle