/* * calution: this file was generated automaticlly donot change it. */ #ifndef ACLNN_DYNAMIC_QUANT_H_ #define ACLNN_DYNAMIC_QUANT_H_ #include "aclnn/acl_meta.h" #ifdef __cplusplus extern "C" { #endif /* funtion: aclnnDynamicQuantGetWorkspaceSize * parameters : * x : required * smoothScalesOptional : optional * yOut : required * scaleOut : required * workspaceSize : size of workspace(output). * executor : executor context(output). */ __attribute__((visibility("default"))) aclnnStatus aclnnDynamicQuantGetWorkspaceSize( const aclTensor *x, const aclTensor *smoothScalesOptional, const aclTensor *yOut, const aclTensor *scaleOut, uint64_t *workspaceSize, aclOpExecutor **executor); /* funtion: aclnnDynamicQuant * parameters : * workspace : workspace memory addr(input). * workspaceSize : size of workspace(input). * executor : executor context(input). * stream : acl stream. */ __attribute__((visibility("default"))) aclnnStatus aclnnDynamicQuant( void *workspace, uint64_t workspaceSize, aclOpExecutor *executor, const aclrtStream stream); #ifdef __cplusplus } #endif #endif