neoml-lib / neoml

Machine learning framework for both deep learning and traditional algorithms
https://www.abbyy.com/neoml/
Apache License 2.0
764 stars 126 forks source link

[NeoML] Reference DNN with composites fix #1090

Closed favorart closed 1 month ago

favorart commented 1 month ago

ChangeList:

  1. CCompositeLayer - forwarded isReferenceDnn and isLearningEnabled flags to the internal dnn
  2. CMultiheadAttentionLayer may have non-connected output, allow it in optimization
  3. CMultichannelLookupLayer - apply SetUseFrameworkLearning( true ) for share the state
  4. CDistributedInference - avoid assert calls on some empty results
  5. Channelwise-layers may contain empty paramBLobs
  6. ReferenceDnnFactory does not close an archive
  7. Update reference dnn tests to check for composite layers