Skip to content

Commit

Permalink
Merge branch 'user/anagrao/CPConstCPUData' into user/anagrao/CPDedupl…
Browse files Browse the repository at this point in the history
…icate
  • Loading branch information
raoanag committed Nov 29, 2023
2 parents 790093a + 95d8a3a commit 465361e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,11 @@ namespace Dml
{
return;
}

else if (!constExpTensor->IsCpuData())
{
return;
}

uint32_t totalKernelInputElementCount = constExpTensor->GetTotalElementCount();
if (totalKernelInputElementCount <= 1)
{
Expand Down

0 comments on commit 465361e

Please sign in to comment.