We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97573e7 commit 24bb848Copy full SHA for 24bb848
torchrec/inference/inference_legacy/src/BatchingQueue.cpp
@@ -60,7 +60,7 @@ BatchingQueue::BatchingQueue(
60
resourceManager_(std::move(resourceManager)) {
61
CHECK(observer_ != nullptr);
62
for (const auto& [_, metadata] : config_.batchingMetadata) {
63
- if (batchingFuncs_.count(metadata.type) > 0) {
+ if (batchingFuncs_.contains(metadata.type)) {
64
continue;
65
}
66
batchingFuncs_[metadata.type] =
0 commit comments