Skip to content

Commit

Permalink
fixup! discojs/tabular: single output
Browse files Browse the repository at this point in the history
  • Loading branch information
tharvik committed Oct 4, 2024
1 parent f471d07 commit dbbf432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discojs/src/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class Validator<D extends DataType> {
.map(async (batch) =>
(await this.#model.predict(batch.map(([inputs, _]) => inputs)))
.zip(batch.map(([_, outputs]) => outputs))
.map(([infered, truth]) => infered === truth),
.map(([inferred, truth]) => inferred === truth),
)
.unbatch();

Expand Down

0 comments on commit dbbf432

Please sign in to comment.