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
thread 'language::from_relay::tests::dense' panicked at 'AttributeError: relay.attrs.DenseAttrs: Cannot find required field 'units' during initialization.If the key is defined check that its type matches the declared type.
Adding units=64 fixes the problem. However, the docs indicate that units is optional...at least in the Python frontend. Maybe units isn't optional in the text format?
(this is a new error -- I used to get the error detailed in #6470 when parsing nn.dense)
The text was updated successfully, but these errors were encountered:
gussmith23
changed the title
[Rust][Bug] nn.dense: is units a required parameter?
[Rust][Relay] nn.dense: is units a required parameter?
Nov 3, 2020
When parsing the following Relay expression:
I get:
Adding
units=64
fixes the problem. However, the docs indicate thatunits
is optional...at least in the Python frontend. Maybeunits
isn't optional in the text format?(this is a new error -- I used to get the error detailed in #6470 when parsing nn.dense)
The text was updated successfully, but these errors were encountered: