Skip to content

Commit

Permalink
Add QNN op todo. Fix shift right typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
fdwr committed Oct 1, 2024
1 parent f024a87 commit 64a6fd3
Showing 1 changed file with 157 additions and 1 deletion.
158 changes: 157 additions & 1 deletion OperatorFormulas.html
Original file line number Diff line number Diff line change
Expand Up @@ -1970,7 +1970,7 @@ <h1 id="Operators">Operators</h1>
<td class="detailsColumn"><code>function bitwiseRightShift(a, b) = elementwiseBinary(a, b, (x, y) = > x &gt;&gt; y)</code></td>
<td class="webnnColumn">NA</td>
<td class="onnxColumn"><a href="https://github.com/onnx/onnx/blob/master/docs/Operators.md#BitwiseXor">BitShift</a> direction = RIGHT</td>
<td class="dmlColumn">DML_OPERATOR_ELEMENT_WISE_BIT_SHIFT_Right</td>
<td class="dmlColumn">DML_OPERATOR_ELEMENT_WISE_BIT_SHIFT_RIGHT</td>
<td class="xnnPackColumn">?</td>
<td class="stableHloColumn">?</td>
<td class="tosaColumn">?</td>
Expand Down Expand Up @@ -7841,6 +7841,159 @@ <h1 id="Operators">Operators</h1>
ANEURALNETWORKS_REVERSE = 105
}
QNN Qualcomm Neural Network
https://docs.qualcomm.com/bundle/publicresource/topics/80-63442-50/SupportedOps.html#operation-definitions
https://docs.qualcomm.com/bundle/publicresource/topics/80-63442-50/CpuOpDefSupplement.html
ArgbToRgb
Argmax
Argmin
AxisAlignedBboxTransform
Batchnorm
BatchPermutation
BatchToSpace
BboxTransform
BoxWithNmsLimit
Buffer
Cast
ChannelShuffle
CollectRpnProposals
CombinedNms
Concat
ConstantOfShape
Conv2d
Conv3d
Convert
Correlation1D
CreateSparse
CropAndResize
CumulativeSum
DepthToSpace
DepthWiseConv2d
Dequantize
DetectionOutput
DistributeFpnProposals
ElementWiseAbs
ElementWiseAdd
ElementWiseAnd
ElementWiseAsin
ElementWiseAtan
ElementWiseBinary
ElementWiseCeil
ElementWiseCos
ElementWiseDivide
ElementWiseEqual
ElementWiseExp
ElementWiseFloor
ElementWiseFloorDiv
ElementWiseFmod
ElementWiseGreater
ElementWiseGreaterEqual
ElementWiseLess
ElementWiseLessEqual
ElementWiseLog
ElementWiseMaximum
ElementWiseMinimum
ElementWiseMod
ElementWiseMultiply
ElementWiseNeg
ElementWiseNeuron
ElementWiseNot
ElementWiseNotEqual
ElementWiseOr
ElementWisePower
ElementWiseRound
ElementWiseRsqrt
ElementWiseSelect
ElementWiseSign
ElementWiseSin
ElementWiseSoftplus
ElementWiseSquaredDifference
ElementWiseSquareRoot
ElementWiseSubtract
ElementWiseUnary
ElementWiseXor
Elu
ExpandDims
ExtractGlimpse
ExtractPatches
FullyConnected
Gather
GatherElements
GatherNd
Gelu
GenerateProposals
GetSparseIndices
GetSparseValues
GridSample
GroupNorm
Gru
HardSwish
HeatMapMaxKeyPoint
ImageProjectionTransform
InstanceNorm
L2Norm
L2Pool2d
LayerNorm
LogSoftmax
Lrn
Lstm
MaskedSoftmax
MatMul
Moments
MultiClassNms
NonMaxSuppression
NonZero
Nv12ToRgb
Nv21ToRgb
OneHot
Pack
Pad
PoolAvg2d
PoolAvg3d
PoolMax2d
PoolMax3d
Prelu
Quantize
ReduceMax
ReduceMean
ReduceMin
ReduceProd
ReduceSum
ReduceSumSquare
Relu
Relu1
Relu6
ReluMinMax
Reshape
Resize
ResizeBilinear
ResizeNearestNeighbor
RmsNorm
RoiAlign
RoiPooling
ScatterElements
ScatterNd
Shape
Sigmoid
Softmax
SpaceToBatch
SpaceToDepth
SparseToDense
Split
Squeeze
StridedSlice
Tanh
Tile
TopK
Transpose
TransposeConv2d
TransposeConv3d
UnPack
MIL (model intermediate language) https://apple.github.io/coremltools/source/coremltools.converters.mil.mil.ops.defs.html#coremltools.converters.mil.mil.ops.defs.iOS15.activation.gelu
Add pooling link:
Expand Down Expand Up @@ -7884,6 +8037,9 @@ <h1 id="Operators">Operators</h1>
<!--
TODO:Add these
QNN https://docs.qualcomm.com/bundle/publicresource/topics/80-63442-50/quantization.html#overview
QNN_DATATYPE_SFIXED_POINT_4/QNN_DATATYPE_UFIXED_POINT_4
Apple MPS (Metal Performance Shaders) - https://developer.apple.com/documentation/metalperformanceshadersgraph/mpsgraphtensor/3564663-datatype
MPSDataType.unorm1
MPSDataType.unorm8
Expand Down

0 comments on commit 64a6fd3

Please sign in to comment.