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

@ -29,9 +29,9 @@ float KomputeSummatorNode::get_total() const {
void KomputeSummatorNode::_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
if (std::shared_ptr<kp::Sequence> sq = this->mSequence.lock())