Safe Haskell | None |
---|---|
Language | Haskell2010 |
General Replay Buffer Types and TypeClasses
Documentation
Replay Buffer Interface
saveAgent :: FilePath -> a -> IO a Source #
Save an agent at a given Path
loadAgent :: Params -> FilePath -> Int -> Int -> Int -> IO a Source #
Load an agent saved at a Path
act :: a -> Tensor -> IO Tensor Source #
Take an action to the best Ability
act' :: a -> Tensor -> IO Tensor Source #
Take a noisy action
act'' :: a -> Tensor -> Tensor Source #
Take an action without any noise
updatePolicy :: Params -> CircusUrl -> Tracker -> Int -> [Transition] -> a -> IO a Source #
Update Policy
Instances
Agent Agent Source # | TD3 Agent is an implements Agent |
Defined in ALG.TD3 saveAgent :: FilePath -> Agent -> IO Agent Source # loadAgent :: Params -> FilePath -> Int -> Int -> Int -> IO Agent Source # act :: Agent -> Tensor -> IO Tensor Source # act' :: Agent -> Tensor -> IO Tensor Source # act'' :: Agent -> Tensor -> Tensor Source # updatePolicy :: Params -> CircusUrl -> Tracker -> Int -> [Transition] -> Agent -> IO Agent Source # |