Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Defines constants that specify a mode for the DirectML convolution operator (as described by the DML_CONVOLUTION_OPERATOR_DESC structure).
Syntax
typedef enum DML_CONVOLUTION_MODE {
DML_CONVOLUTION_MODE_CONVOLUTION,
DML_CONVOLUTION_MODE_CROSS_CORRELATION
} ;
Constants
DML_CONVOLUTION_MODE_CONVOLUTIONSpecifies the convolution mode. When used along with DML_CONVOLUTION_DIRECTION_FORWARD, this flips the filter along the height and width axes. |
DML_CONVOLUTION_MODE_CROSS_CORRELATIONSpecifies the cross-correlation mode. If in doubt, use this mode—it is appropriate for the vast majority of machine learning (ML) model inference. When used along with DML_CONVOLUTION_DIRECTION_BACKWARD, this flips the filter along the height and width axes. |
Requirements
| Requirement | Value |
|---|---|
| Header | directml.h |