DataLoaders.batchindices

function defined in module DataLoaders


			
			
			



			batchindices
	
			
			(
			
			n
			
			, 
			
			size
			
			, 
			
			i
			
			)

Get the indices of batch i with batch size size of a collection with n elements .

Might be a partial batch if i is the last batch and n is not divisible by size .

Methods

There is 1 method for batchindices:

batchindices(n, size::Int64, i::Int64)
batchview.jl:126
Backlinks