TopsGraph C++ API参考¶
目录
- 1. TopsGraphBuilder
- 2. OpBuilders
- 2.1. Abs
- 2.2. AbsGrad
- 2.3. Acos
- 2.4. Add
- 2.5. AddGrad
- 2.6. And
- 2.7. ArgMax
- 2.8. ArgMin
- 2.9. ArgSort
- 2.10. ArgSortGrad
- 2.11. Asin
- 2.12. Asinh
- 2.13. Atan
- 2.14. AtanGrad
- 2.15. Atan2
- 2.16. Atanh
- 2.17. AveragePool
- 2.18. AveragePoolGrad
- 2.19. BatchNormGrad
- 2.20. BatchNormInference
- 2.21. BatchNormTraining
- 2.22. BCELoss
- 2.23. Bitcast
- 2.24. BitcastConvert
- 2.25. Broadcast
- 2.26. BroadcastInDim
- 2.27. Cbrt
- 2.28. Ceil
- 2.29. Cholesky
- 2.30. Clamp
- 2.31. ClampGrad
- 2.32. Compare
- 2.33. Complex
- 2.34. ConcatGrad
- 2.35. Concatenate
- 2.36. Const
- 2.37. Conv
- 2.38. Conv1D
- 2.39. Conv1DTranspose
- 2.40. Conv2D
- 2.41. Conv2DTranspose
- 2.42. Convert
- 2.43. Cos
- 2.44. CosGrad
- 2.45. CTCLoss
- 2.46. CTCLossGrad
- 2.47. CumSum
- 2.48. CustomCall
- 2.49. DepthToSpace
- 2.50. Div
- 2.51. Dot
- 2.52. DotGeneral
- 2.53. Dropout
- 2.54. DynamicBroadcastInDim
- 2.55. DynamicIota
- 2.56. DynamicPad
- 2.57. DynamicReshape
- 2.58. DynamicSlice
- 2.59. DynamicUpdateSlice
- 2.60. Elu
- 2.61. Empty
- 2.62. EmptyLike
- 2.63. Equal
- 2.64. Expand
- 2.65. Erf
- 2.66. Exp
- 2.67. ExpGrad
- 2.68. Expm1
- 2.69. Flatten
- 2.70. FlattenV2
- 2.71. Floor
- 2.72. FloorGrad
- 2.73. FullLike
- 2.74. Gather
- 2.75. GeGlu
- 2.76. Gelu
- 2.77. GeluGrad
- 2.78. Gemm
- 2.79. GetTupleElement
- 2.80. GlobalAveragePool
- 2.81. GlobalMaxPool
- 2.82. Glu
- 2.83. Greater
- 2.84. GreaterEqual
- 2.85. GridSample
- 2.86. GroupNorm
- 2.87. GroupNormGrad
- 2.88. Gtu
- 2.89. HardSigmoid
- 2.90. HardSigmoidGrad
- 2.91. HardSwish
- 2.92. HardSwishGrad
- 2.93. If
- 2.94. Imag
- 2.95. InstanceNorm
- 2.96. Iota
- 2.97. IsFinite
- 2.98. LayerNorm
- 2.99. LayerNormGrad
- 2.100. LeakyRelu
- 2.101. LeakyReluGrad
- 2.102. Less
- 2.103. LessEqual
- 2.104. Log
- 2.105. Log1p
- 2.106. Map
- 2.107. Max
- 2.108. MaximumGrad
- 2.109. MaxPool
- 2.110. MaxPool1D
- 2.111. MaxPool2D
- 2.112. MaxPool2DGrad
- 2.113. MaxRoiPool
- 2.114. Min
- 2.115. MinimumGrad
- 2.116. Mish
- 2.117. MeshGrid
- 2.118. Mul
- 2.119. MulGrad
- 2.120. Neg
- 2.121. NMS
- 2.122. NonZero
- 2.123. Not
- 2.124. NotEqual
- 2.125. OnesLike
- 2.126. Or
- 2.127. Pad
- 2.128. PopulationCount
- 2.129. Pow
- 2.130. PowGrad
- 2.131. PRelu
- 2.132. Reciprocal
- 2.133. ReciprocalGrad
- 2.134. ReduceAll
- 2.135. ReduceL2
- 2.136. ReduceMax
- 2.137. ReduceMean
- 2.138. ReduceMin
- 2.139. ReduceProd
- 2.140. ReduceSum
- 2.141. Range
- 2.142. Real
- 2.143. RealDynamicSlice
- 2.144. Reduce
- 2.145. ReduceWindow
- 2.146. Relu
- 2.147. ReluGrad
- 2.148. Relu6
- 2.149. Relu6Grad
- 2.150. Rem
- 2.151. Reshape
- 2.152. Resize
- 2.153. ResizeGrad
- 2.154. Reverse
- 2.155. ReverseSequence
- 2.156. RngNormal
- 2.157. RngUniform
- 2.158. RoiAlign
- 2.159. RoiAlignGrad
- 2.160. Roll
- 2.161. RollGrad
- 2.162. Round
- 2.163. RoundNearestEven
- 2.164. Rsqrt
- 2.165. Scatter
- 2.166. ScatterND
- 2.167. Select
- 2.168. SelectGrad
- 2.169. SelectAndScatter
- 2.170. SetDimensionSize
- 2.171. Shape
- 2.172. ShiftLeft
- 2.173. ShiftRightArithmetic
- 2.174. ShiftRightLogical
- 2.175. Sigmoid
- 2.176. SigmoidGrad
- 2.177. Sign
- 2.178. Sin
- 2.179. Sinh
- 2.180. Silu
- 2.181. SiluGrad
- 2.182. Size
- 2.183. Slice
- 2.184. SliceInDim
- 2.185. Softmax
- 2.186. Softplus
- 2.187. Sort
- 2.188. SpaceToDepth
- 2.189. Split
- 2.190. Sqrt
- 2.191. Square
- 2.192. SquareGrad
- 2.193. Squeeze
- 2.194. Stack
- 2.195. StackGrad
- 2.196. STFT
- 2.197. Sub
- 2.198. SubGrad
- 2.199. Swish
- 2.200. Tan
- 2.201. Tanh
- 2.202. TanhGrad
- 2.203. Tile
- 2.204. Topk
- 2.205. Transpose
- 2.206. TransposeGrad
- 2.207. Trilu
- 2.208. Tuple
- 2.209. Unsqueeze
- 2.210. UnsqueezeGrad
- 2.211. Where
- 2.212. While
- 2.213. Xor
- 2.214. ZerosLike
- 3. Operation Semantics
- 3.1. Abs
- 3.2. Acos
- 3.3. Add
- 3.4. And
- 3.5. ArgMax
- 3.6. ArgMin
- 3.7. Asin
- 3.8. Asinh
- 3.9. Atan
- 3.10. Atan2
- 3.11. Atanh
- 3.12. AveragePool
- 3.13. BatchNormGrad
- 3.14. BatchNormInference
- 3.15. BatchNormTraining
- 3.16. BCELoss
- 3.17. BitcastConvert
- 3.18. Broadcast
- 3.19. BroadcastInDim
- 3.20. Cbrt
- 3.21. Ceil
- 3.22. Cholesky
- 3.23. Clamp
- 3.24. Compare
- 3.25. Complex
- 3.26. Concatenate
- 3.27. Constant
- 3.28. Conv
- 3.29. ConvBias
- 3.30. Convert
- 3.31. Copy
- 3.32. Cos
- 3.33. CTCLoss
- 3.34. CustomCall
- 3.35. DepthToSpace
- 3.36. Div
- 3.37. Dot
- 3.38. DotGeneral
- 3.39. DotGeneralBias
- 3.40. Dropout
- 3.41. DynamicBroadcastInDim
- 3.42. DynamicIota
- 3.43. DynamicPad
- 3.44. DynamicReshape
- 3.45. DynamicSlice
- 3.46. DynamicUpdateSlice
- 3.47. Elu
- 3.48. Erf
- 3.49. Exp
- 3.50. Expm1
- 3.51. Floor
- 3.52. Gather
- 3.53. GeGlu
- 3.54. Gelu
- 3.55. Gemm
- 3.56. GeneralSplit
- 3.57. GetTupleElement
- 3.58. GlobalAveragePool
- 3.59. GlobalMaxPool
- 3.60. Glu
- 3.61. GridSample
- 3.62. GroupNorm
- 3.63. Gtu
- 3.64. HardSigmoid
- 3.65. HardSwish
- 3.66. If
- 3.67. Imag
- 3.68. InstanceNorm
- 3.69. Iota
- 3.70. IsFinite
- 3.71. LayerNorm
- 3.72. LeakyRelu
- 3.73. Log
- 3.74. Log1p
- 3.75. Map
- 3.76. Max
- 3.77. MaxPool
- 3.78. MaxRoiPool
- 3.79. Min
- 3.80. Mish
- 3.81. Neg
- 3.82. NMS
- 3.83. NonZero
- 3.84. Not
- 3.85. Or
- 3.86. Pad
- 3.87. PartialReduce
- 3.88. PopulationCount
- 3.89. Pow
- 3.90. PRelu
- 3.91. Real
- 3.92. RealDynamicSlice
- 3.93. Reduce
- 3.94. ReduceWindow
- 3.95. Relu
- 3.96. Relu6
- 3.97. Rem
- 3.98. Reshape
- 3.99. Resize
- 3.100. Reverse
- 3.101. ReverseSequence
- 3.102. RngNormal
- 3.103. RngUniform
- 3.104. RoiAlign
- 3.105. Round
- 3.106. RoundNearestEven
- 3.107. Rsqrt
- 3.108. ScatterND
- 3.109. Select
- 3.110. SelectAndScatter
- 3.111. SetDimensionSize
- 3.112. Shape
- 3.113. ShiftLeft
- 3.114. ShiftRightArithmetic
- 3.115. ShiftRightLogical
- 3.116. Sigmoid
- 3.117. Sign
- 3.118. Sin
- 3.119. Sinh
- 3.120. Silu
- 3.121. Size
- 3.122. Slice
- 3.123. SliceInDim
- 3.124. Softmax
- 3.125. Softplus
- 3.126. Sort
- 3.127. SpaceToDepth
- 3.128. Sqrt
- 3.129. Squeeze
- 3.130. Sub
- 3.131. Swish
- 3.132. Tan
- 3.133. Tanh
- 3.134. Tile
- 3.135. Topk
- 3.136. Transpose
- 3.137. Trilu
- 3.138. Tuple
- 3.139. Unsqueeze
- 3.140. While
- 3.141. Xor
- 4. TopsGraphCompiler
- 5. DataType
- 6. Class
- 7. Function