"description":"the operator to use for the test case"
},
"attributes":{
"type":"array",
"description":"the attributes to use for the test case",
"items":{
"type":"object",
"oneOf":[
{
"properties":{
"name":{
"type":"string",
"description":"the name of the attribute"
},
"type":{
"const":"int",
"description":"the type of the attribute"
},
"data":{
"type":"integer",
"description":"the value of the attribute"
}
},
"required":["name","data","type"],
"additionalProperties":false
},
{
"properties":{
"name":{
"type":"string",
"description":"the name of the attribute"
},
"type":{
"const":"ints",
"description":"the type of the attribute"
},
"data":{
"type":"array",
"items":{
"type":"integer"
},
"description":"the value of the attribute"
}
},
"required":["name","data","type"],
"additionalProperties":false
},
{
"properties":{
"name":{
"type":"string",
"description":"the name of the attribute"
},
"type":{
"const":"float",
"description":"the type of the attribute"
},
"data":{
"type":"number",
"description":"the value of the attribute"
}
},
"required":["name","data","type"],
"additionalProperties":false
},
{
"properties":{
"name":{
"type":"string",
"description":"the name of the attribute"
},
"type":{
"const":"floats",
"description":"the type of the attribute"
},
"data":{
"type":"array",
"items":{
"type":"number"
},
"description":"the value of the attribute"
}
},
"required":["name","data","type"],
"additionalProperties":false
},
{
"properties":{
"name":{
"type":"string",
"description":"the name of the attribute"
},
"type":{
"const":"string",
"description":"the type of the attribute"
},
"data":{
"type":"string",
"description":"the value of the attribute"
}
},
"required":["name","data","type"],
"additionalProperties":false
},
{
"properties":{
"name":{
"type":"string",
"description":"the name of the attribute"
},
"type":{
"const":"strings",
"description":"the type of the attribute"
},
"data":{
"type":"array",
"items":{
"type":"string"
},
"description":"the value of the attribute"
}
},
"required":["name","data","type"],
"additionalProperties":false
}
]
}
},
"opset":{
"type":"object",
"description":"opset is an optional field that specifies the opset to use for the test case. If not specified, the latest opset of \"\"(onnx.ai) is used.",
"description":"inputShapeDefinitions is an optional field that specifies the shapes constraints for the test case inputs. It can be one of the following:\n - \"none\": no shape constraints for the test case inputs.\n - \"rankOnly\": the rank of the test case inputs are specified automatically, but not the shape.\n - \"static\": the shape of the test case inputs are fully specified automatically.\n - an array of shapes: the shapes constraints for the test case inputs. shape can be represented by an array, whose element is either a number for a static dimension or a string for a semantic(dynamic) dimension.",
"oneOf":[
{
"type":"array",
"items":{
"oneOf":[
{
"type":"array",
"items":{
"type":["integer","string"]
}
},
{"type":"null"}
]
}
},
{
"enum":["none","rankOnly","static"]
}
]
},
"platformCondition":{
"type":"string",
"description":"the condition for the test case, a regex string applied on platform name. If not specified, the test will run on all platforms. Otherwise, the test will only run on platforms that match the pattern. see https://github.com/bestiejs/platform.js/"