-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added logging and made dtype adjustments in histogram modules
- Introduced `logging` in `fate/arch/histogram/histogram.py` to provide better traceability. - Added a warning log when the update value data type does not match the histogram data type. - Adjusted the data type of "cnt" from `torch.float32` to `torch.int32` in `fate/ml/ensemble/learner/decision_tree/tree_core/hist.py` for better type consistency. Signed-off-by: sagewe <wbwmat@gmail.com>
- Loading branch information
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters