showsample

function defined in module FastAI


			showsample([backend], task, sample)

Show an unprocessed sample for LearningTask task to backend:: ShowBackend.

Examples


			
			
			
			
			data
			,
			 
			blocks
			 
			=
			 
			
			loaddataset
			(
			
			"
			imagenette2-160
			"
			,
			 
			
			(

	
			Image
			,
			 

	
			Label
			)
			)
			

			
			task
			 
			=
			 
			

	
			ImageClassificationSingle
			(
			data
			)
			

			
			sample
			 
			=
			 
			
			data
			[
			1
			]
			

			

			showsample
			(
			task
			,
			 
			sample
			)
			  
			# select backend automatically
			

			

			showsample
			(
			

	
			ShowText
			(
			)
			,
			 
			task
			,
			 
			sample
			)