batchsize

function defined in module MLUtils


			batchsize(data::BatchView) -> Int

Return the fixed size of each batch in data.

Examples


			
			
			
			using
			
			 

	
			MLUtils
			

			
			
			X
			,
			 
			Y
			 
			=
			 
			
			

	
			MLUtils
			.
			

	
			load_iris
			(
			)
			

			

			
			A
			 
			=
			 
			

	
			BatchView
			(
			X
			,
			 
			

			batchsize
			=
			30
			)
			

			
			@
			assert
			
			 
			

			batchsize
			(
			A
			)
			 
			==
			 
			30
Methods

There is 1 method for MLUtils.batchsize: