Skip to main content

tensorlogic_train/loss/
lossconfig_traits.rs

1//! # LossConfig - Trait Implementations
2//!
3//! This module contains trait implementations for `LossConfig`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8
9use super::types::LossConfig;
10
11impl Default for LossConfig {
12    fn default() -> Self {
13        Self {
14            supervised_weight: 1.0,
15            constraint_weight: 1.0,
16            rule_weight: 1.0,
17            temperature: 1.0,
18        }
19    }
20}