private
checkmethod_core
— function
checkmethod_core(method, sample, model; device = identity)
checkmethod_core(method; device = identity)
Check if method
conforms to the core interface.
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.