Skip to content

Commit

Permalink
Bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mooskagh committed Feb 3, 2025
1 parent 58c81a0 commit 695e55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neural/wrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class NetworkAsBackendComputation : public BackendComputation {
computation_(backend_->network_->NewComputation()),
entries_(backend_->attrs_.maximum_batch_size) {}

size_t UsedBatchSize() const override { return computation_->GetBatchSize(); }
size_t UsedBatchSize() const override { return entries_.size(); }

AddInputResult AddInput(const EvalPosition& pos,
EvalResultPtr result) override {
Expand Down

0 comments on commit 695e55d

Please sign in to comment.