Updated the examples
This commit is contained in:
parent
3c486ebf72
commit
48f041d9f3
5 changed files with 8 additions and 32 deletions
|
|
@ -42,14 +42,7 @@ void KomputeModelML::train(std::vector<float> yData, std::vector<float> xIData,
|
|||
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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue