mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-04 04:07:22 +00:00
Mark the dX and dB outputs of ConvGrad as OpSchema::Optional. (#5462)
* Mark the dB output of ConvGrad as OpSchema::Optional. * Also mark dX as optional Co-authored-by: Derek Murray <demurra@microsoft.com>
This commit is contained in:
parent
64f6d856e4
commit
6f65e2ad2c
1 changed files with 2 additions and 2 deletions
|
|
@ -418,9 +418,9 @@ void RegisterTrainingOpSchemas() {
|
|||
.Input(0, "dY", "Gradient of output Y", "T")
|
||||
.Input(1, "X", "Input tensor", "T")
|
||||
.Input(2, "W", "Weight tensor", "T")
|
||||
.Output(0, "dX", "Gradient of input X", "T")
|
||||
.Output(0, "dX", "Gradient of input X", "T", OpSchema::Optional)
|
||||
.Output(1, "dW", "Gradient of W", "T")
|
||||
.Output(2, "dB", "Gradient of B", "T")
|
||||
.Output(2, "dB", "Gradient of B", "T", OpSchema::Optional)
|
||||
.AllowUncheckedAttributes()
|
||||
.TypeConstraint(
|
||||
"T",
|
||||
|
|
|
|||
Loading…
Reference in a new issue