TristonC commented on issue #20471:
URL:
https://github.com/apache/incubator-mxnet/issues/20471#issuecomment-887903332
With your sym3 example, here is what I got with MXNet 1.9.
```
Input1 + Input2 gradient, CPU (OK):
{'.Inputs.Input1': 'write', '.Inputs.Input2': 'write', '.Inputs.Input3':
'null'}
[23:37:54] ../src/storage/storage.cc:199: Using Pooled (Naive)
StorageManager for CPU
[[[-3. -2. -3. -3.]
[ 0. -3. -1. -3.]]]
<NDArray 1x2x4 @cpu(0)>
Input1 + Input2 gradient, GPU (OK):
{'.Inputs.Input1': 'write', '.Inputs.Input2': 'write', '.Inputs.Input3':
'null'}
[23:38:01] ../src/storage/storage.cc:199: Using Pooled (Naive)
StorageManager for GPU
[[[-3. -2. -3. -3.]
[ 0. -3. -1. -3.]]]
<NDArray 1x2x4 @gpu(0)>
Input2 gradient only, CPU (OK):
{'.Inputs.Input1': 'null', '.Inputs.Input2': 'write', '.Inputs.Input3':
'null'}
[[[-3. -2. -3. -3.]
[ 0. -3. -1. -3.]]]
<NDArray 1x2x4 @cpu(0)>
Input2 gradient only, GPU (WRONG):
{'.Inputs.Input1': 'null', '.Inputs.Input2': 'write', '.Inputs.Input3':
'null'}
[[[-3. -2. -3. -3.]
[ 0. -3. -1. -3.]]]
<NDArray 1x2x4 @gpu(0)>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]