(weight, gain=1)
| 240 | |
| 241 | # https://github.com/openai/baselines/blob/master/baselines/common/tf_util.py #L87 |
| 242 | def init_normc_(weight, gain=1): |
| 243 | weight.normal_(0, 1) |
| 244 | weight *= gain / torch.sqrt(weight.pow(2).sum(1, keepdim=True)) |
| 245 | |
| 246 | def plot_line(name,list_data,full_path): |
| 247 | pdf = PdfPages(full_path+"/"+name+'.pdf') |
nothing calls this directly
no outgoing calls
no test coverage detected