multiply

Function Usage

Image processing algorithms, tensor multiply algorithm, supporting dtype.float16, dtype.float32 and dtype.uint8.

It is supported by the Atlas inference product and Atlas 200I/500 A2 inference product.

Prototype

multiply(inputTensor1: Tensor, inputTensor2: Tensor, scale)

Input Parameters

Parameter

Type

Description

inputTensor1

Tensor class

Multiplier, input tensor, supporting dtype.float16, dtype.float32, and dtype.uint8 data types.

inputTensor2

Tensor class

Multiplier, input tensor, supporting dtype.float16, dtype.float32, and dtype.uint8 data types.

scale

float

(Optional) Multiplier for scaling the result.

Response Parameters

Tensor data after the multiplication