Skip to content

Conversation

@bozhonghu
Copy link
Collaborator

Description

Fix bug in empty default value array. Currently the return value of an empty dense tensor is a UniversalTensor and not a DenseTensor which breaks our default value code. To address this we can include the type information of the field when we try to do tensor conversion which allows the correct empty array to be created.

How was this PR tested?

Added new test case in AnchoredFeaturesIntegTest and tested via following command
sbt "testOnly *AnchoredFeaturesIntegTest" -java-home /Library/Java/JavaVirtualMachines/jdk1.8.0_282-msft.jdk/Contents/Home

Does this PR introduce any user-facing changes?

No

@xiaoyongzhu xiaoyongzhu added the safe to test Tag to execute build pipeline for a PR from forked repo label Nov 1, 2022
@bozhonghu bozhonghu merged commit ded4cae into feathr-ai:main Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Tag to execute build pipeline for a PR from forked repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants