Skip to content

Commit 68093e1

Browse files
committed
rename batchsize
1 parent 5ad9258 commit 68093e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/normalization.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ for f in (:push!, :pushfirst!, :append!, :prepend!)
192192
end
193193

194194
function StatsBase.sample(s::BatchSampler, nt::NormalizedTraces, names, weights = StatsBase.UnitWeights{Int}(length(nt)))
195-
inds = StatsBase.sample(s.rng, 1:length(nt), weights, s.batch_size)
195+
inds = StatsBase.sample(s.rng, 1:length(nt), weights, s.batchsize)
196196
maybe_normalize(data, key) = key in keys(nt.normalizers) ? normalize(nt.normalizers[key], data) : data
197197
NamedTuple{names}(collect(maybe_normalize(nt[x][inds], x)) for x in names)
198198
end

0 commit comments

Comments
 (0)