chore(refact): move training_common from bot to store crate
This commit is contained in:
parent
257665c546
commit
453c363334
12 changed files with 38 additions and 39 deletions
|
|
@ -1,9 +1,9 @@
|
|||
use std::io::Write;
|
||||
|
||||
use crate::training_common;
|
||||
use burn::{prelude::Backend, tensor::Tensor};
|
||||
use burn_rl::base::{Action, Environment, Snapshot, State};
|
||||
use rand::{rng, Rng};
|
||||
use trictrac_store::training_common;
|
||||
use trictrac_store::{GameEvent, GameState, PlayerId, PointsRules, Stage, TurnStage};
|
||||
|
||||
const ERROR_REWARD: f32 = -1.0012121;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
use crate::training_common;
|
||||
use burn::{prelude::Backend, tensor::Tensor};
|
||||
use burn_rl::base::{Action, Environment, Snapshot, State};
|
||||
use rand::{rng, Rng};
|
||||
use trictrac_store::training_common;
|
||||
use trictrac_store::{GameEvent, GameState, PlayerId, PointsRules, Stage, TurnStage};
|
||||
|
||||
const ERROR_REWARD: f32 = -1.0012121;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue