AutoContiguous
Function Usage
When this parameter is configured, if the inputs (of the aclTensor type) of the single-operator API (aclnnxxx) are non-contiguous tensors, the framework automatically convents them into contiguous tensors.
This API is supported only in the following scenarios:
- Develop a single-operator calling application by executing single-operator APIs.
- Indirectly call a single-operator API (aclnnxxx): single-operator calling in the PyTorch framework.
Prototype
OpParamDef &AutoContiguous();
Parameters
None
Returns
OpParamDef operator definition. For details, see OpParamDef.
Constraints
None
Parent topic: OpParamDef