Testing Utiltites¶
-
class
ActualExpected[source]¶ Bases:
funsor.testing.LazyComparisonLazy string formatter for test assertions.
-
random_tensor(inputs, output=Real)[source]¶ Creates a random
funsor.tensor.Tensorwith given inputs and output.
-
random_gaussian(inputs)[source]¶ Creates a random
funsor.gaussian.Gaussianwith given inputs.