.FastAI
showblocks!
function
defined in module
FastAI
showblocks([backend], block, obss)
showblocks!(handle, backend, block, obss)
Show a vector of observations
obss
of the same
block
type.
data
,
blocks
=
loaddataset
(
"
imagenette2-160
"
)
samples
=
[
data
[
i
]
for
i
in
range
(
1
:
4
)
]
showblocks
(
blocks
,
samples
)
This is used for showing batches of observations, unlike the
Tuple
variant of
showblock!
which assumes an observation consists of multiple blocks.
Usually, a
ShowBackend
will show an observation in one row with
showblock!
and
showblocks!
will show multiple rows.
There are
2
methods for FastAI.showblocks!
:
The following pages link back here:
interpretation/backend.jl , interpretation/text.jl , FastMakie.jl