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

@ -28,9 +28,9 @@ float KomputeSummator::get_total() const {
void KomputeSummator::_init() {
std::cout << "CALLING INIT" << std::endl;
this->mPrimaryTensor = this->mManager.buildTensor({ 0.0 });
this->mSecondaryTensor = this->mManager.buildTensor({ 0.0 });
this->mSequence = this->mManager.getOrCreateManagedSequence("AdditionSeq");
this->mPrimaryTensor = this->mManager.tensor({ 0.0 });
this->mSecondaryTensor = this->mManager.tensor({ 0.0 });
this->mSequence = this->mManager.sequence("AdditionSeq");
// We now record the steps in the sequence
{