.FastAI
encodedblock
function
defined in module
FastAI
encodedblock(encoding, block)
encodedblock(encoding, blocks)
encodedblock(encodings, blocks)
Return the block that is obtained by encoding
block
with encoding
E
. This needs to be constant for an instance of
E
, so it cannot depend on the sample or on randomness. The default is to return
nothing
, meaning the same block is returned and not changed. Encodings that return the same block but change the data (e.g.
ProjectiveTransforms
) should return
block
.
There are
14
methods for FastAI.encodedblock
:
The following pages link back here:
datablock/describe.jl , datablock/encoding.jl , datablock/wrappers.jl , encodings/onehot.jl , encodings/only.jl , FastTabular.jl , encodings/tabularpreprocessing.jl , FastVision.jl , encodings/imagepreprocessing.jl , encodings/keypointpreprocessing.jl , encodings/onehot.jl , encodings/projective.jl