min_operator
Function Usage
Image processing algorithms, tensor minimum value operation (min_operator). It compares two input tensors by element and returns the smaller tensor. The dtype.float16, dtype.float32, and dtype.uint8 data types are supported.
- It is supported by the Atlas inference product and
Atlas 200I/500 A2 inference product . - The input tensor must be on the device.
- The input parameters cannot exceed four dimensions, and must match the tensor types and shapes.
Prototype
min_operator(inputTensor1: Tensor, inputTensor2: Tensor)
Input Parameters
Parameter |
Type |
Description |
|---|---|---|
inputTensor1 |
Tensor class |
Input tensor, supporting dtype.float16, dtype.float32, and dtype.uint8 data types. |
inputTensor2 |
Tensor class |
Input tensor, supporting dtype.float16, dtype.float32, and dtype.uint8 data types. |
Response Parameters
Tensor data after the minimum value is obtained item by item.
Parent topic: TensorOperations