.FastAIshowblockinterpretable

function defined in module FastAI


			showblockinterpretable(backend, encodings, block, obs)

Decode block successively by applying encodings until a block is gotten that can be shown by backend. Useful to visualize encoded data that is not directly interpretable, for example an Image{2} representing an encoded Image.

Examples


			
			
			
			using
			
			 

	
			FastAI
			

			
			encodings
			 
			=
			 
			
			(
			

	
			ImagePreprocessing
			(
			)
			,
			)
			

			
			block
			 
			=
			 
			
			

	
			ImageTensor
			{
			2
			}
			(
			3
			)
			

			
			x
			 
			=
			 
			
			

	
			FastAI
			.
			

	
			mockblock
			(
			block
			)
			

			

			

			showblockinterpretable
			(
			

	
			ShowText
			(
			)
			,
			 
			encodings
			,
			 
			block
			,
			 
			x
			)
			  
			# will decode to an `Image`
			

			
			@
			test_throws
			 
			

	
			showblock
			(
			

	
			ShowText
			(
			)
			,
			 
			encodings
			,
			 
			block
			,
			 
			x
			)
			  
			# will error
Methods

There are 2 methods for FastAI.showblockinterpretable: