Skip to content

Commit

Permalink
Fix TryConvertTensorToBroadcastScalar build break (#18497)
Browse files Browse the repository at this point in the history
### Description
Fix TryConvertTensorToBroadcastScalar build break, caused by incorrect
method call.

-        else if (!IsCpuData())
+        else if (!constExpTensor->IsCpuData())

### Motivation and Context
Previous build causing build break.

Co-authored-by: Christian Larson <[email protected]>
  • Loading branch information
chrilaMSFT and chrilaMSFT authored Nov 18, 2023
1 parent e36cc6e commit a69b4f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ namespace Dml
{
return;
}
else if (!IsCpuData())
else if (!constExpTensor->IsCpuData())
{
return;
}
Expand Down

0 comments on commit a69b4f7

Please sign in to comment.