Add soft actor critic (#12)

* Add soft actor critic

* Delete unnecessary examples
This commit is contained in:
Jinwoo Park (Curt)
2019-02-18 17:54:07 +09:00
committed by GitHub
parent d2b670015c
commit 4a19053d25
6 changed files with 589 additions and 17 deletions
@@ -12,6 +12,8 @@ import numpy as np
import torch
import torch.nn as nn
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
def identity(x: torch.Tensor) -> torch.Tensor:
"""Return input without any change."""