Skip to Content
๐ŸŽ‰ WebNN Developer Preview is released โ†’

Browser Compatibility

Core ML Backend / macOS

WebNNCPUGPUNPU
macOSโœ… Core MLโœ… Core MLโœ… Core ML
iOSโŒ Core MLโŒ Core MLโŒ Core ML

The WebNN Core ML backend mainly supported on macOS.

WebNN Specโ€‰OperationsChromium Version
argMaxโ€‰โœ… reduce_argmaxM128
argMinโ€‰โœ… reduce_argminM128
batchNormalizationโ€‰โœ… batch_normM126
castโ€‰โœ… castM124
clampโ€‰โœ… clipM125
concatโ€‰โœ… concatM125
conv2dโ€‰โœ… convM125
convTranspose2dโ€‰โœ… conv_transposeM126
cumulativeSumโ€‰โœ… cumsumM132
dequantizeLinearโ€‰๐Ÿš€ dequantize_linear
element-wise binary / addโ€‰โœ… addM122
element-wise binary / divโ€‰โœ… real_divM124
element-wise binary / maxโ€‰โœ… maximumM124
element-wise binary / minโ€‰โœ… minimumM124
element-wise binary / mulโ€‰โœ… mulM124
element-wise binary / notEqualโ€‰โœ… not_equalM134
element-wise binary / powโ€‰โœ… powM124
element-wise binary / subโ€‰โœ… subM124
element-wise logical / equalโ€‰โœ… equalM125
element-wise logical / greaterโ€‰โœ… greaterM125
element-wise logical / greaterOrEqualโ€‰โœ… greater_equalM125
element-wise logical / lesserโ€‰โœ… lessM125
element-wise logical / lesserOrEqualโ€‰โœ… less_equalM125
element-wise logical / logicalAndโ€‰โœ… logical_andM132
element-wise logical / logicalOrโ€‰โœ… logical_orM132
element-wise logical / logicalXorโ€‰โœ… logical_xorM132
element-wise logical / notโ€‰โœ… logical_notM128
element-wise unary / absโ€‰โœ… absM126
element-wise unary / ceilโ€‰โœ… ceilM126
element-wise unary / identityโ€‰โœ… identityM126
element-wise unary / cosโ€‰โœ… cosM126
element-wise unary / erfโ€‰โœ… erfM126
element-wise unary / expโ€‰โœ… expM126
element-wise unary / floorโ€‰โœ… floorM126
element-wise unary / logโ€‰โœ… logM126
element-wise unary / negโ€‰โœ… Emulated with mul(a, -1)M127
element-wise unary / reciprocalโ€‰โœ… inverseM126
element-wise unary / sinโ€‰โœ… sinM126
element-wise unary / sqrtโ€‰โœ… sqrtM126
element-wise unary / tanโ€‰โœ… tanM126
eluโ€‰โœ… eluM126
expandโ€‰โœ… tileM128
gatherโ€‰โœ… gatherM126
gatherElementsโ€‰โœ… gather_along_axisM132
gatherNDโ€‰โœ… gather_ndM132
geluโ€‰โœ… geluM132
gemmโ€‰โœ… Emulated with add(mul(alpha, matmul(A, B)), mul(beta, C))M126
gruโ€‰โœ… gruM133
gruCellโ€‰โœ… gruM133
hardSigmoidโ€‰โœ… sigmoid_hardM126
hardSwishโ€‰โœ… Emulated by mul(x, hardsigmoid(x, alpha=1.0/6, beta=0.5))M126
instanceNormalizationโ€‰โœ… instance_normM126
layerNormalizationโ€‰โœ… layer_normM129
leakyReluโ€‰โœ… leaky_reluM126
linearโ€‰Emulated with add(mul(alpha, a), beta)M126
lstmโ€‰โœ… lstmM133
lstmCellโ€‰โœ… lstmM133
matmulโ€‰โœ… matmulM126
padโ€‰โœ… padM129
pooling / averagePool2dโ€‰โœ… avg_poolM126
pooling / l2Pool2dโ€‰โœ… l2_poolM126
pooling / maxPool2dโ€‰โœ… max_poolM126
preluโ€‰๐Ÿš€ prelu
quantizeLinearโ€‰๐Ÿš€ quantize_linear
reduction / reduceL1โ€‰โœ… reduce_l1_normM126
reduction / reduceL2โ€‰โœ… reduce_l2_normM126
reduction / reduceLogSumโ€‰โœ… reduce_log_sumM126
reduction / reduceLogSumExpโ€‰โœ… reduce_log_sum_expM126
reduction / reduceMaxโ€‰โœ… reduce_maxM126
reduction / reduceMeanโ€‰โœ… reduce_meanM126
reduction / reduceMinโ€‰โœ… reduce_minM126
reduction / reduceProductโ€‰โœ… reduce_prodM126
reduction / reduceSumโ€‰โœ… reduce_sumM126
reduction / reduceSumSquareโ€‰โœ… reduce_sum_squareM126
reluโ€‰โœ… reluM125
resample2dโ€‰โœ… upsample_bilinear โœ… upsample_nearest_neighborM126
reshapeโ€‰โœ… reshapeM126
reverseโ€‰๐Ÿš€ reverse
scatterElementsโ€‰โœ… scatter_along_axisM132
scatterNDโ€‰โœ… scatter_ndM132
sigmoidโ€‰โœ… sigmoidM126
signโ€‰๐Ÿš€ sign
sliceโ€‰โœ… slice_by_sizeM126
softmaxโ€‰โœ… softmaxM127
softplusโ€‰โœ… softplusM126
softsignโ€‰โœ… softsignM125
splitโ€‰โœ… splitM130
tanhโ€‰โœ… tanhM126
tileโ€‰โœ… tileM131
transposeโ€‰โœ… transposeM125
triangularโ€‰โœ… band_partM132
whereโ€‰โœ… selectM126
Last updated on