{ "tests": [ { "name": "erf float32 0D scalar", "inputs": { "input": { "shape": [], "data": [ -0.004352752727565523 ], "type": "float32" } }, "expected": { "name": "output", "shape": [], "data": [ -0.004911554511636496 ], "type": "float32" } }, { "name": "erf float32 1D constant tensor", "inputs": { "input": { "shape": [24], "data": [ -0.5883062462825124, -0.5323766618091814, 0.127987056070479, 0.5772181473181615, 0.9045778906827358, -0.49856746753516346, 0.9843886624146143, 0.21642259286228738, 0.25235170684373465, -0.14916697974435467, 0.9136939573458718, -0.5736439986742754, 0.740446832641029, 0.5202203195176929, -0.16549504687505712, 0.8005731834523444, 0.4001320000966242, -0.7489422658248586, -0.8946002438575227, -0.392025619231934, 0.6854220843685903, -0.674490045974586, -0.4398081957860396, 0.2709762572248531 ], "type": "float32", "constant": true } }, "expected": { "name": "output", "shape": [24], "data": [ -0.5945858955383301, -0.5484867095947266, 0.14363321661949158, 0.5856771469116211, 0.7991966009140015, -0.5192402005195618, 0.8361185789108276, 0.2404468059539795, 0.27881762385368347, -0.16707675158977509, 0.8036975860595703, -0.5827808976173401, 0.7049695253372192, 0.5380884408950806, -0.1850501298904419, 0.742441713809967, 0.4285193383693695, -0.710474967956543, -0.7941843867301941, -0.4207003712654114, 0.6676210165023804, -0.6598520874977112, -0.46604686975479126, 0.29844197630882263 ], "type": "float32" } }, { "name": "erf float32 1D tensor", "inputs": { "input": { "shape": [24], "data": [ -0.5883062462825124, -0.5323766618091814, 0.127987056070479, 0.5772181473181615, 0.9045778906827358, -0.49856746753516346, 0.9843886624146143, 0.21642259286228738, 0.25235170684373465, -0.14916697974435467, 0.9136939573458718, -0.5736439986742754, 0.740446832641029, 0.5202203195176929, -0.16549504687505712, 0.8005731834523444, 0.4001320000966242, -0.7489422658248586, -0.8946002438575227, -0.392025619231934, 0.6854220843685903, -0.674490045974586, -0.4398081957860396, 0.2709762572248531 ], "type": "float32" } }, "expected": { "name": "output", "shape": [24], "data": [ -0.5945858955383301, -0.5484867095947266, 0.14363321661949158, 0.5856771469116211, 0.7991966009140015, -0.5192402005195618, 0.8361185789108276, 0.2404468059539795, 0.27881762385368347, -0.16707675158977509, 0.8036975860595703, -0.5827808976173401, 0.7049695253372192, 0.5380884408950806, -0.1850501298904419, 0.742441713809967, 0.4285193383693695, -0.710474967956543, -0.7941843867301941, -0.4207003712654114, 0.6676210165023804, -0.6598520874977112, -0.46604686975479126, 0.29844197630882263 ], "type": "float32" } }, { "name": "erf float32 2D tensor", "inputs": { "input": { "shape": [4, 6], "data": [ -0.5883062462825124, -0.5323766618091814, 0.127987056070479, 0.5772181473181615, 0.9045778906827358, -0.49856746753516346, 0.9843886624146143, 0.21642259286228738, 0.25235170684373465, -0.14916697974435467, 0.9136939573458718, -0.5736439986742754, 0.740446832641029, 0.5202203195176929, -0.16549504687505712, 0.8005731834523444, 0.4001320000966242, -0.7489422658248586, -0.8946002438575227, -0.392025619231934, 0.6854220843685903, -0.674490045974586, -0.4398081957860396, 0.2709762572248531 ], "type": "float32" } }, "expected": { "name": "output", "shape": [4, 6], "data": [ -0.5945858955383301, -0.5484867095947266, 0.14363321661949158, 0.5856771469116211, 0.7991966009140015, -0.5192402005195618, 0.8361185789108276, 0.2404468059539795, 0.27881762385368347, -0.16707675158977509, 0.8036975860595703, -0.5827808976173401, 0.7049695253372192, 0.5380884408950806, -0.1850501298904419, 0.742441713809967, 0.4285193383693695, -0.710474967956543, -0.7941843867301941, -0.4207003712654114, 0.6676210165023804, -0.6598520874977112, -0.46604686975479126, 0.29844197630882263 ], "type": "float32" } }, { "name": "erf float32 3D tensor", "inputs": { "input": { "shape": [2, 3, 4], "data": [ -0.5883062462825124, -0.5323766618091814, 0.127987056070479, 0.5772181473181615, 0.9045778906827358, -0.49856746753516346, 0.9843886624146143, 0.21642259286228738, 0.25235170684373465, -0.14916697974435467, 0.9136939573458718, -0.5736439986742754, 0.740446832641029, 0.5202203195176929, -0.16549504687505712, 0.8005731834523444, 0.4001320000966242, -0.7489422658248586, -0.8946002438575227, -0.392025619231934, 0.6854220843685903, -0.674490045974586, -0.4398081957860396, 0.2709762572248531 ], "type": "float32" } }, "expected": { "name": "output", "shape": [2, 3, 4], "data": [ -0.5945858955383301, -0.5484867095947266, 0.14363321661949158, 0.5856771469116211, 0.7991966009140015, -0.5192402005195618, 0.8361185789108276, 0.2404468059539795, 0.27881762385368347, -0.16707675158977509, 0.8036975860595703, -0.5827808976173401, 0.7049695253372192, 0.5380884408950806, -0.1850501298904419, 0.742441713809967, 0.4285193383693695, -0.710474967956543, -0.7941843867301941, -0.4207003712654114, 0.6676210165023804, -0.6598520874977112, -0.46604686975479126, 0.29844197630882263 ], "type": "float32" } }, { "name": "erf float32 4D tensor", "inputs": { "input": { "shape": [2, 2, 2, 3], "data": [ -0.5883062462825124, -0.5323766618091814, 0.127987056070479, 0.5772181473181615, 0.9045778906827358, -0.49856746753516346, 0.9843886624146143, 0.21642259286228738, 0.25235170684373465, -0.14916697974435467, 0.9136939573458718, -0.5736439986742754, 0.740446832641029, 0.5202203195176929, -0.16549504687505712, 0.8005731834523444, 0.4001320000966242, -0.7489422658248586, -0.8946002438575227, -0.392025619231934, 0.6854220843685903, -0.674490045974586, -0.4398081957860396, 0.2709762572248531 ], "type": "float32" } }, "expected": { "name": "output", "shape": [2, 2, 2, 3], "data": [ -0.5945858955383301, -0.5484867095947266, 0.14363321661949158, 0.5856771469116211, 0.7991966009140015, -0.5192402005195618, 0.8361185789108276, 0.2404468059539795, 0.27881762385368347, -0.16707675158977509, 0.8036975860595703, -0.5827808976173401, 0.7049695253372192, 0.5380884408950806, -0.1850501298904419, 0.742441713809967, 0.4285193383693695, -0.710474967956543, -0.7941843867301941, -0.4207003712654114, 0.6676210165023804, -0.6598520874977112, -0.46604686975479126, 0.29844197630882263 ], "type": "float32" } }, { "name": "erf float32 5D tensor", "inputs": { "input": { "shape": [2, 1, 4, 1, 3], "data": [ -0.5883062462825124, -0.5323766618091814, 0.127987056070479, 0.5772181473181615, 0.9045778906827358, -0.49856746753516346, 0.9843886624146143, 0.21642259286228738, 0.25235170684373465, -0.14916697974435467, 0.9136939573458718, -0.5736439986742754, 0.740446832641029, 0.5202203195176929, -0.16549504687505712, 0.8005731834523444, 0.4001320000966242, -0.7489422658248586, -0.8946002438575227, -0.392025619231934, 0.6854220843685903, -0.674490045974586, -0.4398081957860396, 0.2709762572248531 ], "type": "float32" } }, "expected": { "name": "output", "shape": [2, 1, 4, 1, 3], "data": [ -0.5945858955383301, -0.5484867095947266, 0.14363321661949158, 0.5856771469116211, 0.7991966009140015, -0.5192402005195618, 0.8361185789108276, 0.2404468059539795, 0.27881762385368347, -0.16707675158977509, 0.8036975860595703, -0.5827808976173401, 0.7049695253372192, 0.5380884408950806, -0.1850501298904419, 0.742441713809967, 0.4285193383693695, -0.710474967956543, -0.7941843867301941, -0.4207003712654114, 0.6676210165023804, -0.6598520874977112, -0.46604686975479126, 0.29844197630882263 ], "type": "float32" } } ] }