dlhdl.ProcessorConfig.getModuleProperty - Use the getModuleProperty method to get values of module

  properties within the dlhdl.ProcessorConfig object - MATLAB ([original](https://www.mathworks.com/help/deep-learning-hdl/ref/dlhdl.processorconfig.getmoduleproperty.html)) ([raw](?raw))

Main Content

Class: dlhdl.ProcessorConfig
Namespace: dlhdl

Use the getModuleProperty method to get values of module properties within the dlhdl.ProcessorConfig object

Since R2020b

Syntax

Description

ThegetModuleProperty([processorConfigObject](#mw%5F7558e39d-ea31-4164-9d01-585333c42763%5Fsep%5Fmw%5F4aaceff3-0437-4357-96fe-ca0f4d3de873),[ModuleName](#inputs),[ModulePropertyName](#mw%5Fa09fe83e-581a-4f44-8cad-916d0ee2aa46)) method returns the value of the module property for modules within thedlhdl.ProcessorConfig object.

Input Arguments

expand all

Processor configuration, specified as adlhdl.ProcessorConfig object.

The dlhdl.ProcessorConfig object module name, specified as a character vector or string.

'conv', 'fc', or 'custom' module properties specified as character vector.

Example: "ConvThreadNumber" or 'ConvThreadNumber'

This table lists module names and module property names.

Examples

expand all

  1. Create an example object by using the dlhdl.ProcessorConfig class, and then use the getModuleProperty method to obtain theConvThreadNumber.
    hPC = dlhdl.ProcessorConfig;
    hPC.getModuleProperty("conv","ConvThreadNumber")

  2. Once you execute the code, the result is:

  3. Create an example object by using the dlhdl.ProcessorConfig class, and then use the getModuleProperty method to obtain theConvThreadNumber.
    hPC = dlhdl.ProcessorConfig;
    hPC.getModuleProperty("fc","InputMemorySize")

  4. Once you execute the code, the result is:

Version History

Introduced in R2020b