Skip to content

Commit

Permalink
Remove uncessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
ibelem committed Oct 10, 2024
1 parent c7057a6 commit 0d03980
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lenet/lenet.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,7 @@ export class LeNet {
}

async build(outputOperand) {
if (this.builder_) {
this.graph_ = await this.builder_.build({'output': outputOperand});
}
this.graph_ = await this.builder_.build({'output': outputOperand});
}

async compute(inputBuffer) {
Expand Down

0 comments on commit 0d03980

Please sign in to comment.