Skip to content

Commit

Permalink
Additional check.
Browse files Browse the repository at this point in the history
  • Loading branch information
khatchad committed Jan 19, 2024
1 parent 13b5397 commit 579ccd8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,11 @@ private void testTf2(
assertEquals(expectedNumberOfTensorParameters, functionParameterPointerKeys.size());

// check value numbers.
assertEquals(
"Each tensor parameter should have a unique value number.",
expectedNumberOfTensorParameters,
expectedTensorParameterValueNumbers.length);

Set<Integer> actualParameterValueNumberSet =
functionParameterPointerKeys.stream()
.map(LocalPointerKey::getValueNumber)
Expand Down

0 comments on commit 579ccd8

Please sign in to comment.