Only
struct defined in module
FastAI
Only(fn, encoding)
Only(BlockType, encoding)
Only(name, encoding)
Wrapper that applies the wrapped
encoding to a
block if
fn(block) === true. Instead of a function you can also pass in a type of block
BlockType or the
name of a
Named block.
There are
3
methods for FastAI.Only: