Answering my own question regarding problems with Windows build (may be someone 
gets there by googling):

There are following definition in file src/relay/transforms/simplify_expr.cc:

`static Op reshape_op = Op::Get("reshape");`

`static Op reverse_reshape_op = Op::Get("contrib_reverse_reshape");`

Their Op:Get are failing as in Windows statics are initialized before the dll 
entry point is called.

As a workaround I moved the initializations inside SimplifyReshape ctor 
(several lines down).

BTW, I don't see any reason to declare these two variables as static and 
outside of the SimplifyReshape class.





---
[Visit 
Topic](https://discuss.tvm.ai/t/export-library-from-linux-for-windows/7612/4) 
to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/6838d0c472995cd9346fcbc44d46b0e7b814daf32c6bec3276f7428063b2d1ae).

Reply via email to