Sub
Description
Performs the subtraction operation on a tensor.
Input
Two inputs:
x1: tensor.
x2: tensor.
Output
One output:
y: tensor. Has an identical data type to that of the input.
Constraints
The output has the identical shape and data type as the input. The supported data types are int32, float16, and float.
ONNX Opset Support
Opset v8/v9/v10/v11/v12/v13/v14/v15
Parent topic: Operators Specifications of the AI Framework