mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-25 02:50:42 +00:00
### Description This PR is to update the win-ort-main branch to the tip main branch as of 2025-01-16. ### Motivation and Context This update includes the OpenVino fix for debug builds. --------- Signed-off-by: Liqun Fu <liqfu@microsoft.com> Signed-off-by: Liqun Fu <liqun.fu@microsoft.com> Signed-off-by: Junze Wu <junze.wu@intel.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jianhui Dai <jianhui.j.dai@intel.com> Co-authored-by: Yueqing Zhang <yuz75@Pitt.edu> Co-authored-by: amancini-N <63410090+amancini-N@users.noreply.github.com> Co-authored-by: Adrian Lizarraga <adlizarraga@microsoft.com> Co-authored-by: liqun Fu <liqfu@microsoft.com> Co-authored-by: Guenther Schmuelling <guschmue@microsoft.com> Co-authored-by: Yifan Li <109183385+yf711@users.noreply.github.com> Co-authored-by: yf711 <yifanl@microsoft.com> Co-authored-by: Wanming Lin <wanming.lin@intel.com> Co-authored-by: wejoncy <wejoncy@163.com> Co-authored-by: wejoncy <wejoncy@.com> Co-authored-by: Scott McKay <skottmckay@gmail.com> Co-authored-by: Changming Sun <chasun@microsoft.com> Co-authored-by: Jean-Michaël Celerier <jeanmichael.celerier+github@gmail.com> Co-authored-by: Dmitry Deshevoy <mityada@gmail.com> Co-authored-by: xhcao <xinghua.cao@intel.com> Co-authored-by: Yueqing Zhang <yueqingz@amd.com> Co-authored-by: Yulong Wang <7679871+fs-eire@users.noreply.github.com> Co-authored-by: Jiajia Qin <jiajiaqin@microsoft.com> Co-authored-by: Wu, Junze <junze.wu@intel.com> Co-authored-by: Jian Chen <cjian@microsoft.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com> Co-authored-by: Prathik Rao <prathik.rao@gmail.com> Co-authored-by: wonchung-microsoft <wonchung@microsoft.com> Co-authored-by: Vincent Wang <wangwchpku@outlook.com> Co-authored-by: PARK DongHa <luncliff@gmail.com> Co-authored-by: Hector Li <hecli@microsoft.com> Co-authored-by: Sam Webster <13457618+samwebster@users.noreply.github.com> Co-authored-by: Adrian Lizarraga <adrianlm2@gmail.com> Co-authored-by: Preetha Veeramalai <preetha.veeramalai@intel.com> Co-authored-by: jatinwadhwa921 <jatin.wadhwa@intel.com> Co-authored-by: Satya Kumar Jandhyala <satya.k.jandhyala@gmail.com> Co-authored-by: Corentin Maravat <101636442+cocotdf@users.noreply.github.com> Co-authored-by: Xiaoyu <85524621+xiaoyu-work@users.noreply.github.com> Co-authored-by: Tianlei Wu <tlwu@microsoft.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jie Chen <jie.a.chen@intel.com> Co-authored-by: Jianhui Dai <jianhui.j.dai@intel.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com> Co-authored-by: Baiju Meswani <bmeswani@microsoft.com> Co-authored-by: kunal-vaishnavi <115581922+kunal-vaishnavi@users.noreply.github.com> Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: Ted Themistokleous <107195283+TedThemistokleous@users.noreply.github.com> Co-authored-by: Jeff Daily <jeff.daily@amd.com> Co-authored-by: Artur Wojcik <artur.wojcik@outlook.com> Co-authored-by: Ted Themistokleous <tedthemistokleous@amd.com> Co-authored-by: Xinya Zhang <Xinya.Zhang@amd.com> Co-authored-by: ikalinic <ilija.kalinic@amd.com> Co-authored-by: sstamenk <sstamenk@amd.com> Co-authored-by: Yi-Hong Lyu <yilyu@microsoft.com> Co-authored-by: Ti-Tai Wang <titaiwang@microsoft.com>
467 lines
13 KiB
Text
467 lines
13 KiB
Text
[
|
|
{
|
|
"name": "conv without bias addition A",
|
|
"operator": "FusedConv",
|
|
"attributes": [
|
|
{ "name": "activation", "data": "Relu", "type": "string" },
|
|
{ "name": "kernel_shape", "data": [2, 2], "type": "ints" }
|
|
],
|
|
"opset": { "domain": "com.microsoft", "version": 1 },
|
|
"cases": [
|
|
{
|
|
"name": "T[0]",
|
|
"inputs": [
|
|
{
|
|
"data": [10, 20, 30, 40, 50, 60, 70, 80, 90],
|
|
"dims": [1, 1, 3, 3],
|
|
"type": "float32"
|
|
},
|
|
{
|
|
"data": [1, 2, 3, 4],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [370, 470, 670, 770],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "T[1]",
|
|
"inputs": [
|
|
{
|
|
"data": [10, 20, -30, -40, -50, -60, 70, 80, 90],
|
|
"dims": [1, 1, 3, 3],
|
|
"type": "float32"
|
|
},
|
|
{
|
|
"data": [1, 2, 3, 4],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [0, 0, 390, 430],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "NHWC conv without bias addition A",
|
|
"operator": "Conv",
|
|
"attributes": [
|
|
{ "name": "activation", "data": "Relu", "type": "string" },
|
|
{ "name": "kernel_shape", "data": [2, 2], "type": "ints" }
|
|
],
|
|
"opset": { "domain": "com.ms.internal.nhwc", "version": 11 },
|
|
"cases": [
|
|
{
|
|
"name": "T[2]",
|
|
"inputs": [
|
|
{
|
|
"data": [10, 20, 30, 40, 50, 60, 70, 80, 90],
|
|
"dims": [1, 3, 3, 1],
|
|
"type": "float32"
|
|
},
|
|
{
|
|
"data": [1, 2, 3, 4],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [370, 470, 670, 770],
|
|
"dims": [1, 2, 2, 1],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "T[3]",
|
|
"inputs": [
|
|
{
|
|
"data": [10, 20, -30, -40, -50, -60, 70, 80, 90],
|
|
"dims": [1, 3, 3, 1],
|
|
"type": "float32"
|
|
},
|
|
{
|
|
"data": [1, 2, 3, 4],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [0, 0, 390, 430],
|
|
"dims": [1, 2, 2, 1],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "fused conv with clip",
|
|
"operator": "FusedConv",
|
|
"attributes": [
|
|
{ "name": "activation", "data": "Clip", "type": "string" },
|
|
{ "name": "kernel_shape", "data": [2, 2], "type": "ints" },
|
|
{ "name": "activation_params", "data": [400.0, 600.0], "type": "floats" }
|
|
],
|
|
"opset": { "domain": "com.microsoft", "version": 1 },
|
|
"cases": [
|
|
{
|
|
"name": "T[0]",
|
|
"inputs": [
|
|
{
|
|
"data": [10, 20, 30, 40, 50, 60, 70, 80, 90],
|
|
"dims": [1, 1, 3, 3],
|
|
"type": "float32"
|
|
},
|
|
{
|
|
"data": [1, 2, 3, 4],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [400, 470, 600, 600],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "fused conv with HardSigmoid",
|
|
"operator": "FusedConv",
|
|
"attributes": [
|
|
{ "name": "activation", "data": "HardSigmoid", "type": "string" },
|
|
{ "name": "kernel_shape", "data": [2, 2], "type": "ints" },
|
|
{ "name": "activation_params", "data": [2.0, 5.0], "type": "floats" }
|
|
],
|
|
"opset": { "domain": "com.microsoft", "version": 1 },
|
|
"cases": [
|
|
{
|
|
"name": "T[0]",
|
|
"inputs": [
|
|
{
|
|
"data": [10, 20, -30, -40, -50, -60, 70, 80, 90],
|
|
"dims": [1, 1, 3, 3],
|
|
"type": "float32"
|
|
},
|
|
{
|
|
"data": [1, 2, 3, 4],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [0, 0, 1, 1],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "NHWC conv with HardSigmoid",
|
|
"operator": "Conv",
|
|
"attributes": [
|
|
{ "name": "activation", "data": "HardSigmoid", "type": "string" },
|
|
{ "name": "kernel_shape", "data": [2, 2], "type": "ints" },
|
|
{ "name": "activation_params", "data": [2.0, 5.0], "type": "floats" }
|
|
],
|
|
"opset": { "domain": "com.ms.internal.nhwc", "version": 1 },
|
|
"cases": [
|
|
{
|
|
"name": "T[0]",
|
|
"inputs": [
|
|
{
|
|
"data": [10, 20, -30, -40, -50, -60, 70, 80, 90],
|
|
"dims": [1, 3, 3, 1],
|
|
"type": "float32"
|
|
},
|
|
{
|
|
"data": [1, 2, 3, 4],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [0, 0, 1, 1],
|
|
"dims": [1, 2, 2, 1],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "fused group-conv with HardSigmoid",
|
|
"operator": "FusedConv",
|
|
"attributes": [
|
|
{ "name": "activation", "data": "HardSigmoid", "type": "string" },
|
|
{ "name": "kernel_shape", "data": [2, 2], "type": "ints" },
|
|
{ "name": "group", "data": 3, "type": "int" },
|
|
{ "name": "activation_params", "data": [2.0, 5.0], "type": "floats" }
|
|
],
|
|
"opset": { "domain": "com.microsoft", "version": 1 },
|
|
"cases": [
|
|
{
|
|
"name": "T[0]",
|
|
"inputs": [
|
|
{
|
|
"data": [
|
|
0.0, 1.0, 2.0, -3.0, 4.0, -5.0, 6.0, 7.0, 8.0, -9.0, -10.0, 11.0, -12.0, 13.0, -14.0, 15.0, 16.0, 17.0,
|
|
18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0
|
|
],
|
|
"dims": [1, 3, 3, 3],
|
|
"type": "float32"
|
|
},
|
|
{
|
|
"data": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
|
|
"dims": [3, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1],
|
|
"dims": [1, 3, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
// {
|
|
// "name": "NHWC group-conv with HardSigmoid",
|
|
// "operator": "Conv",
|
|
// "attributes": [
|
|
// { "name": "activation", "data": "HardSigmoid", "type": "string" },
|
|
// { "name": "kernel_shape", "data": [2, 2], "type": "ints" },
|
|
// { "name": "group", "data": 3, "type": "int" },
|
|
// { "name": "activation_params", "data": [2.0, 5.0], "type": "floats" }
|
|
// ],
|
|
// "opset": { "domain": "com.ms.internal.nhwc", "version": 1 },
|
|
// "cases": [
|
|
// {
|
|
// "name": "T[0]",
|
|
// "inputs": [
|
|
// {
|
|
// "data": [
|
|
// 0.0, 1.0, 2.0, -3.0, 4.0, -5.0, 6.0, 7.0, 8.0, -9.0, -10.0, 11.0, -12.0, 13.0, -14.0, 15.0, 16.0, 17.0,
|
|
// 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0
|
|
// ],
|
|
// "dims": [1, 3, 3, 3],
|
|
// "type": "float32"
|
|
// },
|
|
// {
|
|
// "data": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
|
|
// "dims": [3, 1, 2, 2],
|
|
// "type": "float32"
|
|
// }
|
|
// ],
|
|
// "outputs": [
|
|
// {
|
|
// "data": [0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
|
// "dims": [1, 2, 2, 3],
|
|
// "type": "float32"
|
|
// }
|
|
// ]
|
|
// }
|
|
// ]
|
|
// },
|
|
{
|
|
"name": "fused group-conv with LeakyRelu",
|
|
"operator": "FusedConv",
|
|
"attributes": [
|
|
{ "name": "activation", "data": "LeakyRelu", "type": "string" },
|
|
{ "name": "kernel_shape", "data": [2, 2], "type": "ints" },
|
|
{ "name": "group", "data": 3, "type": "int" },
|
|
{ "name": "activation_params", "data": [2.0], "type": "floats" }
|
|
],
|
|
"opset": { "domain": "com.microsoft", "version": 1 },
|
|
"cases": [
|
|
{
|
|
"name": "T[0]",
|
|
"inputs": [
|
|
{
|
|
"data": [
|
|
0.0, 1.0, 2.0, -3.0, 4.0, -5.0, 6.0, 7.0, 8.0, -9.0, -10.0, 11.0, -12.0, 13.0, -14.0, 15.0, 16.0, 17.0,
|
|
18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0
|
|
],
|
|
"dims": [1, 3, 3, 3],
|
|
"type": "float32"
|
|
},
|
|
{
|
|
"data": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
|
|
"dims": [3, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [9, -6, 51, 47, -170, -10, 251, 229, 847, 889, 973, 1015],
|
|
"dims": [1, 3, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
// {
|
|
// "name": "NHWC group-conv with LeakyRelu",
|
|
// "operator": "Conv",
|
|
// "attributes": [
|
|
// { "name": "activation", "data": "LeakyRelu", "type": "string" },
|
|
// { "name": "kernel_shape", "data": [2, 2], "type": "ints" },
|
|
// { "name": "group", "data": 3, "type": "int" },
|
|
// { "name": "activation_params", "data": [2.0], "type": "floats" }
|
|
// ],
|
|
// "opset": { "domain": "com.ms.internal.nhwc", "version": 1 },
|
|
// "cases": [
|
|
// {
|
|
// "name": "T[0]",
|
|
// "inputs": [
|
|
// {
|
|
// "data": [
|
|
// 0.0, 1.0, 2.0, -3.0, 4.0, -5.0, 6.0, 7.0, 8.0, -9.0, -10.0, 11.0, -12.0, 13.0, -14.0, 15.0, 16.0, 17.0,
|
|
// 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0
|
|
// ],
|
|
// "dims": [1, 3, 3, 3],
|
|
// "type": "float32"
|
|
// },
|
|
// {
|
|
// "data": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
|
|
// "dims": [3, 1, 2, 2],
|
|
// "type": "float32"
|
|
// }
|
|
// ],
|
|
// "outputs": [
|
|
// {
|
|
// "data": [-162, 63, -158, 33, 281, 85, 105, 337, 455, 177, 515, 609],
|
|
// "dims": [1, 2, 2, 3],
|
|
// "type": "float32"
|
|
// }
|
|
// ]
|
|
// }
|
|
// ]
|
|
// },
|
|
{
|
|
"name": "fused conv with LeakyRelu",
|
|
"operator": "FusedConv",
|
|
"attributes": [
|
|
{ "name": "activation", "data": "LeakyRelu", "type": "string" },
|
|
{ "name": "kernel_shape", "data": [2, 2], "type": "ints" },
|
|
{ "name": "activation_params", "data": [2.0], "type": "floats" }
|
|
],
|
|
"opset": { "domain": "com.microsoft", "version": 1 },
|
|
"cases": [
|
|
{
|
|
"name": "T[0]",
|
|
"inputs": [
|
|
{
|
|
"data": [10, 20, -30, -40, -50, -60, 70, 80, 90],
|
|
"dims": [1, 1, 3, 3],
|
|
"type": "float32"
|
|
},
|
|
{
|
|
"data": [1, 2, 3, 4],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [-540, -860, 390, 430],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "NHWC conv with LeakyRelu",
|
|
"operator": "Conv",
|
|
"attributes": [
|
|
{ "name": "activation", "data": "LeakyRelu", "type": "string" },
|
|
{ "name": "kernel_shape", "data": [2, 2], "type": "ints" },
|
|
{ "name": "activation_params", "data": [2.0], "type": "floats" }
|
|
],
|
|
"opset": { "domain": "com.ms.internal.nhwc", "version": 1 },
|
|
"cases": [
|
|
{
|
|
"name": "T[0]",
|
|
"inputs": [
|
|
{
|
|
"data": [10, 20, -30, -40, -50, -60, 70, 80, 90],
|
|
"dims": [1, 3, 3, 1],
|
|
"type": "float32"
|
|
},
|
|
{
|
|
"data": [1, 2, 3, 4],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [-540, -860, 390, 430],
|
|
"dims": [1, 2, 2, 1],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "fused conv with tanh",
|
|
"operator": "FusedConv",
|
|
"attributes": [
|
|
{ "name": "activation", "data": "Tanh", "type": "string" },
|
|
{ "name": "kernel_shape", "data": [2, 2], "type": "ints" }
|
|
],
|
|
"opset": { "domain": "com.microsoft", "version": 1 },
|
|
"cases": [
|
|
{
|
|
"name": "T[0]",
|
|
"inputs": [
|
|
{
|
|
"data": [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9],
|
|
"dims": [1, 1, 3, 3],
|
|
"type": "float32"
|
|
},
|
|
{
|
|
"data": [0.11, 0.12, 0.13, 0.14],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [0.15572261810302734, 0.20409323275089264, 0.29770541191101074, 0.3425688147544861],
|
|
"dims": [1, 1, 2, 2],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|