Skip to content

Commit 6323969

Browse files
committed
Fix internal naming inconsistency
1 parent b8b2496 commit 6323969

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FastBertTokenizer/AsyncBatchEnumerator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ public static IAsyncEnumerable<TokenizedBatch<TKey>> CreateAsync(BertTokenizer t
5353
return new AsyncEnumerable(impl);
5454
}
5555

56-
public static IEnumerable<TokenizedBatch<TKey>> CreateSync(BertTokenizer tokenizer, IEnumerable<(TKey Key, string Content)> asyncSourceEnumerable, int tokensPerInput, int batchSize, int stride)
56+
public static IEnumerable<TokenizedBatch<TKey>> CreateSync(BertTokenizer tokenizer, IEnumerable<(TKey Key, string Content)> sourceEnumerable, int tokensPerInput, int batchSize, int stride)
5757
{
58-
var impl = new AsyncBatchEnumerator<TKey>(tokenizer, asyncSourceEnumerable, tokensPerInput, batchSize, stride);
58+
var impl = new AsyncBatchEnumerator<TKey>(tokenizer, sourceEnumerable, tokensPerInput, batchSize, stride);
5959
return new SyncEnumerable(impl);
6060
}
6161

0 commit comments

Comments
 (0)