.FastAItestencoding

function defined in module FastAI


			testencoding(encoding, block[, obs])

Performs some tests that the encoding interface is set up properly for encoding and block. Tests that

  • obs is a valid instance block

  • encode returns a valid encodedblock(encoding, block)

  • decode returns a valid decodedblock(encoding, encodedblock(encoding, block)) and that the block is identical to block

Methods

There is 1 method for FastAI.testencoding: