mw66

Results 291 comments of mw66

Actually I think I found the problem: In one of my own sharedStaticCtor, some function called `Assert.equal()`, I think maybe it means the fluent-asserts has not be fully init-ed yet?...

It is confirmed that this is the cause of the problem (I remove such Assert calls in the sharedStaticCtor call path, it works now). > I'm currently working on a...

Hit by this issue again. Any update? Another thought: make Assert only do real call in version (unittest), otherwise, just NO-OP.

$ cat ab.d ``` #!/usr/bin/env dub /+ dub.sdl: dependency "fluent-asserts" version="~>0.13.0" +/ import fluent.asserts; void main() { assert("a" < "b"); // OK Assert.lessThan("c", "b"); // Error: no property lessThan for...

Also I found there is no Assert.greaterEqualThan, Assert.lessEqualThan even for int?

@gedaiu ping. Hit this problem again, we have notLessThan(), and Assert.notGreaterThan(), can we add alias to greaterEqualThan(), and lessEqualThan(). Thanks.

I've done some code like this: ``` version (ASSERT) { public import fluent.asserts; } else { pragma(msg, "NOTE: using dummy Assert!"); class Assert { public static void cmp(X, Y)(X x,...

> Hi the training loss is by default MSE, but the saved results are for RMSE. RMSE loss is not differentiable (at zero) hence would have optimization problems. MSE has...

> If you're not using it, I think the easiest solution is to remove it from the library. How to remove? you mean remove the whole dir `extra/cunn` ? I...