Main Content

verifyCustomLayerModel

Class: dlhdl.ProcessorConfig
Package: dlhdl

Verify the functionality and accuracy of the custom layer by using the generated custom layer verification model

Syntax

verifyCustomLayerModel(processorConfigObject)

Description

verifyCustomLayerModel(processorConfigObject) verifies the functionality of the custom layer and prediction accuracy of the network with the custom layer by using the custom layer verification model, which you generated by using the openCustomLayerModel method.

Input Arguments

expand all

Instance of the processor configuration object, specified as a dlhdl.ProcessorConfig object.

Examples

expand all

  1. Generate the verification model for your custom signum layer. For instructions, see Generate and Open Model for Custom Signum Layer. Leave the generated model file open.

  2. Verify the generated verification model for the custom signum layer by using the verifyCustomLayerModel method.

    verifyCustomLayerModel(hPC)
    ### Custom layer verification model simulation and validation begin.
    ### Compiling Simulink model 'dnnfpgaCustomLayerVerificationModel' ...
    ### Complete Simulink model 'dnnfpgaCustomLayerVerificationModel' compilation.
    Verification passed.
    ### Custom layer verification model simulation and validation complete.

Version History

Introduced in R2022a