Updated the examples

This commit is contained in:
Alejandro Saucedo 2021-02-09 22:15:07 +00:00
parent 3c486ebf72
commit 48f041d9f3
5 changed files with 8 additions and 32 deletions

View file

@ -35,13 +35,7 @@ int main()
kp::Manager mgr;
std::shared_ptr<kp::Sequence> sqTensor =
mgr.sequence();
sqTensor->begin();
sqTensor->record<kp::OpTensorCreate>(params);
sqTensor->end();
sqTensor->eval();
mgr.rebuild(params);
std::shared_ptr<kp::Sequence> sq = mgr.sequence();