目录

HiAI_SingleOpExecutorConvolutionParam

typedef struct HiAI_SingleOpExecutorConvolutionParam {...} HiAI_SingleOpExecutorConvolutionParam

Overview

HMS_HiAISingleOpExecutor_CreateConvolution input parameters.

Since: 5.0.0(12)

Related module: CANN

Header file: hiai_single_op.h

Summary

[h2]Member Variables

Name Description
HiAI_SingleOpOptions * options Pointer to the HiAI_SingleOpOptions object. The value cannot be a null pointer. Otherwise, the API call fails.
HiAI_SingleOpDescriptor * opDesc Pointer to the HiAI_SingleOpDescriptor object corresponding to the convolution operator. The value cannot be a null pointer. Otherwise, the API call fails.
HiAI_SingleOpTensorDesc * input Pointer to the input tensor descriptor. The value cannot be a null pointer. Otherwise, the API call fails.
HiAI_SingleOpTensorDesc * output Pointer to the output tensor descriptor. The value cannot be a null pointer. Otherwise, the API call fails.
HiAI_SingleOpTensor * filter Pointer to the convolution kernel tensor. The value cannot be a null pointer. Otherwise, the API call fails.
HiAI_SingleOpTensor * bias Pointer to the bias tensor. If the convolution has no bias, the value can be a null pointer.

Struct Member Variable Description

[h2]bias

HiAI_SingleOpTensor* HiAI_SingleOpExecutorConvolutionParam::bias

Description

Pointer to the bias tensor. If the convolution has no bias, the value can be a null pointer.

[h2]filter

HiAI_SingleOpTensor* HiAI_SingleOpExecutorConvolutionParam::filter

Description

Pointer to the convolution kernel tensor. The value cannot be a null pointer. Otherwise, the API call fails.

[h2]input

HiAI_SingleOpTensorDesc* HiAI_SingleOpExecutorConvolutionParam::input

Description

Pointer to the input tensor descriptor. The value cannot be a null pointer. Otherwise, the API call fails.

[h2]opDesc

HiAI_SingleOpDescriptor* HiAI_SingleOpExecutorConvolutionParam::opDesc

Description

Pointer to the HiAI_SingleOpDescriptor object corresponding to the convolution operator. The value cannot be a null pointer. Otherwise, the API call fails.

[h2]options

HiAI_SingleOpOptions* HiAI_SingleOpExecutorConvolutionParam::options

Description

Pointer to the HiAI_SingleOpOptions object. The value cannot be a null pointer. Otherwise, the API call fails.

[h2]output

HiAI_SingleOpTensorDesc* HiAI_SingleOpExecutorConvolutionParam::output

Description

Pointer to the output tensor descriptor. The value cannot be a null pointer. Otherwise, the API call fails.