Fields in the TBE Operator UT Case Definition File
Parameter |
Description |
|
|---|---|---|
Operator[xx] |
- |
Optional. |
- |
OpName |
Operator name. |
- |
TestName |
Mandatory. Test case name. |
- |
SocVersion |
Mandatory. Supported types of the Ascend AI Processor. You can enter all, indicating that all of the Ascend AI Processors are supported. |
- |
FunctionType |
Mandatory. Supported function types. Corresponding parameters are as follows:
|
Input[xx] |
- |
Mandatory. Operator input. |
- |
Name |
Optional. Operator input name, which is of the string type. |
- |
Format |
Mandatory. A string. Format of the input tensor. Must not be empty. Common data formats are as follows:
|
- |
OriginFormat |
Optional. Original tensor format. If this parameter is not carried, the original tensor format is retained. |
- |
Type |
Mandatory. A string. All input and output tensors must support the same number of data types. Input data type.
|
- |
Shape |
Mandatory. An int or a 1D array of ints. Input tensor shape. All input and output tensors must support the same number of shapes. For example: [8, 3, 256, 256]. If you enter an invalid shape, for example, [0], an error is reported. Note that the configured shape must match the format. |
- |
OriginShape |
Optional. Original tensor shape. If this field is not carried, the original tensor shape is retained. |
Output[xx] |
- |
Mandatory. Operator output. |
- |
Name |
Operator input name, which is of the string type. |
- |
Format |
Mandatory. A string. Format of the output tensor. Must not be empty. Common data formats are as follows:
|
- |
OriginFormat |
Optional. Original tensor format. If this parameter is not carried, the original tensor format is retained. |
- |
Type |
Mandatory. A string. Output data type.
|
- |
Shape |
Mandatory. An int or a 1D or 2D array of ints. Input tensor shape. For example: [8, 3, 256, 256]. If you enter an invalid shape, for example, [0], an error is reported. |
- |
OriginShape |
Optional. Original tensor shape. If this field is not carried, the original tensor shape is retained. |
Attribute |
- |
Optional. |
- |
Name |
Optional. A string. |
- |
Type |
Required if attr is configured. Attribute data type. A string. Output data type.
|
- |
Value |
Required if attr is configured. Must not be null. A string. Attribute value. Varies according to type.
|

