Skip to content

Commit 168cedb

Browse files
committed
Clean up custom operator sample and add GPU operator
1 parent 5ddf3a2 commit 168cedb

34 files changed

+6772
-218
lines changed

Samples/CustomOperatorCPU/customize_model/example_models/squeezenet_debug_all_outputs.onnx renamed to Samples/CustomOperator/customize_model/example_models/squeezenet_debug_all_outputs.onnx

File renamed without changes.

Samples/CustomOperatorCPU/customize_model/example_models/squeezenet_debug_single_output.onnx renamed to Samples/CustomOperator/customize_model/example_models/squeezenet_debug_single_output.onnx

File renamed without changes.

Samples/CustomOperatorCPU/customize_model/img/squeezenet.png renamed to Samples/CustomOperator/customize_model/img/squeezenet.png

File renamed without changes.

Samples/CustomOperatorCPU/customize_model/img/squeezenet_debug_all_outputs.png renamed to Samples/CustomOperator/customize_model/img/squeezenet_debug_all_outputs.png

File renamed without changes.

Samples/CustomOperatorCPU/customize_model/img/squeezenet_debug_single_output.png renamed to Samples/CustomOperator/customize_model/img/squeezenet_debug_single_output.png

File renamed without changes.

Samples/CustomOperatorCPU/customize_model/scripts/debug_all_outputs.py renamed to Samples/CustomOperator/customize_model/scripts/debug_all_outputs.py

File renamed without changes.

Samples/CustomOperatorCPU/customize_model/scripts/debug_single_output.py renamed to Samples/CustomOperator/customize_model/scripts/debug_single_output.py

File renamed without changes.
File renamed without changes.

Samples/CustomOperatorCPU/desktop/cpp/README.md renamed to Samples/CustomOperator/desktop/cpp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ The necessary code is included to define and register these custom operators. AP
55

66
## Included custom operators
77
There are three custom operators included in this sample: Relu, NoisyRelu and Debug.
8-
The Relu custom operator is replacing an existing operator while NoisyRelu and Debug are new operators.
98

109
Relu transforms the input data using the function max(0, input). Noisy Relu is a variant of Relu which introduces Guassian noise.
1110
For more information on these functions:
@@ -46,6 +45,7 @@ The Relu and NoisyRelu operator client code curates its own input data, but the
4645
```
4746
custom-operator-cpu-sample.exe debug <path to image file>
4847
custom-operator-cpu-sample.exe relu
48+
custom-operator-cpu-sample.exe relu_gpu
4949
custom-operator-cpu-sample.exe noisyrelu
5050
```
5151

0 commit comments

Comments
 (0)