Files
FastDeploy/third_party/onnx/docs/OpConventions.md
Jason 6343b0db47 [Build] Support build with source code of Paddle2ONNX (#1559)
* Add notes for tensors

* Optimize some apis

* move some warnings

* Support build with Paddle2ONNX

* Add protobuf support

* Fix compile on mac

* add clearn package script

* Add paddle2onnx code

* remove submodule

* Add onnx ocde

* remove softlink

* add onnx code

* fix error

* Add cmake file

* fix patchelf

* update paddle2onnx

* Delete .gitmodules

---------

Co-authored-by: PaddleCI <paddle_ci@example.com>
Co-authored-by: pangyoki <pangyoki@126.com>
Co-authored-by: jiangjiajun <jiangjiajun@baidu.lcom>
2023-03-17 10:03:22 +08:00

776 B

Operator Conventions

To maintain consistency in operator signatures, we use the following principles:

  • All attribute names should be lower case and use underscores when it helps with readability
  • Any input/output represented by a single letter is capitalized (i.e. X)
  • Any input/output represented by a full word or multiple words is all lower case and uses underscores when it helps with readability
  • Any input/output representing a bias tensor will utilize the name "B"
  • Any input/output representing a weight tensor will utilize the name “W”
  • “axes” is used when an input, output or attribute is representing multiple axes
  • “axis” is used when an input, output or attribute is representing a single axis