private
checkmethod
— function
checkmethod(method, sample, model; device = identity)
checkmethod(method; device = identity)
Check if method
conforms to the DLPipelines.jl
interfaces.
sample
and model
are used for testing. If you have implemented the testing
interface and don’t supply these as arguments, mocksample(method)
and
mockmodel(method)
will be used.
Checks core and interpretation interfaces.