code-loader 1.0.23__tar.gz → 1.0.24__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: code-loader
3
- Version: 1.0.23
3
+ Version: 1.0.24
4
4
  Summary:
5
5
  Home-page: https://github.com/tensorleap/code-loader
6
6
  License: MIT
@@ -107,7 +107,7 @@ class LeapBinder:
107
107
  arg_names = inspect.getfullargspec(function)[0]
108
108
  self.setup_container.metrics.append(MetricHandler(name, function, arg_names))
109
109
 
110
- def add_prediction(self, name: str, labels: List[str], channel_dim=-1) -> None:
110
+ def add_prediction(self, name: str, labels: List[str], channel_dim: int = -1) -> None:
111
111
  self.setup_container.prediction_types.append(PredictionTypeHandler(name, labels, channel_dim))
112
112
 
113
113
  def set_ground_truth(self, function: SectionCallableInterface, name: str) -> None:
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "code-loader"
3
- version = "1.0.23"
3
+ version = "1.0.24"
4
4
  description = ""
5
5
  authors = ["dorhar <doron.harnoy@tensorleap.ai>"]
6
6
  license = "MIT"
File without changes
File without changes