Obtaining Samples
You can obtain the operator sample code from the /home/HwHiAiUser/Ascend/ascend-toolkit/latest/atc/sample/op folder in the development environment.
- The caffe directory stores the sample code of the Caffe custom operator project.
- The tensorflow directory stores the sample code of the TensorFlow custom operator project.
- The all directory stores the sample code of both the Caffe and TensorFlow custom operator projects.
Note: In the training scenario, only the custom development of TensorFlow operators is supported. The following describes only the TensorFlow custom operator project.