Updated examples
This commit is contained in:
parent
b243d432c1
commit
4e9888e7d6
7 changed files with 17 additions and 17 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue