Shape inference errors "you forgot to specify hidden dimensions"; new notation %%extend_dsls
#414
lukstafi
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The notation
%%extend_dslsgenerates boilerplate to add new operations to the DSLs -- making them easily available to the%opand%cdnotations. It is for example used to add normal distribution to DSLs in a concise way.Shape inference errors "you forgot to specify hidden dimensions" are generated when shape inference would otherwise need to guess the smallest fitting shape for a parameter.
From the changelog:
Added
%%extend_dslssyntax extension for extending DSL modulesinterleaveoperation in DSL modulesDefined_by_cd_logicshape inference specification for explicit shape logic in forward codeis_paramflag in shape inference for improved parameter-related error messagesTree_mappersistent map utility with exposed tree structure in sexp serializationChanged
Utils.Tree_mapfor ppx_minidebug v3 full-scale debugginglabeltonameRow.id→Row.prov) supporting deduplicationop_labelstring withlabellist as trailing parameterentry_id→scope_id)lib/nn_blocks.mlfor better namespace managementtest/einsum/Fixed
Conv_inputadditional casesTensor.opdim_ineqshape_spec_to_dims_bioTotal_elemsconstraintsset_dimhappened before parsing the specaxis_keys_to_idcsfrom un-inferred shapesThis discussion was created from the release Shape inference errors "you forgot to specify hidden dimensions"; new notation `%%extend_dsls`.
All reactions