synnada-ai / mithril

Mithril: A Modular Machine Learning Library for Model Composability
Apache License 2.0
31 stars 8 forks source link

feat: do not elevate valued scalar inputs to upper level models #49

Closed norhan-synnada closed 20 hours ago

norhan-synnada commented 2 days ago

Description

Closes #37.

What is Changed

Checklist:

codecov[bot] commented 2 days ago

Codecov Report

Attention: Patch coverage is 98.14815% with 1 line in your changes missing coverage. Please review.

Project coverage is 86.42%. Comparing base (a497c8c) to head (99b226a). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
mithril/framework/common.py 90.00% 1 Missing :warning:
@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
- Coverage   86.46%   86.42%   -0.04%     
==========================================
  Files          61       61              
  Lines       15378    15368      -10     
==========================================
- Hits        13296    13282      -14     
- Misses       2082     2086       +4     
Files with missing lines Coverage Δ
mithril/framework/codegen/numpy_gen.py 95.72% <100.00%> (-0.46%) :arrow_down:
mithril/framework/logical/base.py 88.38% <100.00%> (ø)
mithril/framework/logical/model.py 96.66% <100.00%> (+0.11%) :arrow_up:
mithril/framework/physical/model.py 90.63% <100.00%> (-0.97%) :arrow_down:
mithril/models/primitives.py 97.17% <ø> (ø)
mithril/utils/dict_conversions.py 88.74% <100.00%> (-0.05%) :arrow_down:
mithril/framework/common.py 95.96% <90.00%> (-0.04%) :arrow_down: