Updated examples

This commit is contained in:
Alejandro Saucedo 2021-02-09 21:30:33 +00:00
parent b243d432c1
commit 4e9888e7d6
7 changed files with 17 additions and 17 deletions

View file

@ -44,14 +44,14 @@ void KomputeModelML::train(std::vector<float> yData, std::vector<float> xIData,
{
std::shared_ptr<kp::Sequence> sqTensor =
mgr.createManagedSequence();
mgr.sequence();
sqTensor->begin();
sqTensor->record<kp::OpTensorCreate>(params);
sqTensor->end();
sqTensor->eval();
std::shared_ptr<kp::Sequence> sq = mgr.createManagedSequence();
std::shared_ptr<kp::Sequence> sq = mgr.sequence();
// Record op algo base
sq->begin();