You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lineToTensor function takes in a string input and returns a tensor that can be fed into the RNN. My question is this, how do I think about modeling this function in an MDF way? I'm currently stuck here.
@Ivy8127, it seems that supporting strings as parameters will be a bit more involved than expected... Currently the execution engine treats a string parameter as an expression to evaluate (like "a + b"), and will give an error if it can't parse it.
There needs to be something like a dtype attribute on parameters which can state they they can be strings, and treat them differently. I'll try to prototype somethign early next week. For now, try using the standard pytorch->mdf examples to export the core RNN model to MDF and see how that goes...
https://pytorch.org/tutorials/intermediate/char_rnn_classification_tutorial.html
Possible steps for @Ivy8127:
The text was updated successfully, but these errors were encountered: