We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TestConstructor_ThrowsArgumentException_IfMeansAndStdevsHaveWrongLengths
1 parent b9b9bd0 commit 0f0b09dCopy full SHA for 0f0b09d
test/TorchSharpTest/TestTorchVision.cs
@@ -845,17 +845,6 @@ public void TestConstructor_ThrowsArgumentException_IfMeansAndStdevsHaveDifferen
845
Assert.Throws<ArgumentException>(() => Normalize(means, stdevs));
846
}
847
848
- [Fact]
849
- public void TestConstructor_ThrowsArgumentException_IfMeansAndStdevsHaveWrongLengths()
850
- {
851
- // Arrange
852
- double[] means = { 0.485, 0.456 };
853
- double[] stdevs = { 0.229, 0.224 }; // Not 1 or 3
854
-
855
- // Act & Assert
856
- Assert.Throws<ArgumentException>(() => Normalize(means, stdevs));
857
- }
858
859
[Fact]
860
public void TestConstructor_CreatesNewNormalizeObject_WithValidArguments()
861
{
0 commit comments