提交 320633a4 编写于 作者: C chenfeiyu

folder adjust

上级 5b63663a
此差异已折叠。
Source: hparam.py copied from tensorflow v1.12.0.
https://github.com/tensorflow/tensorflow/blob/v1.12.0/tensorflow/contrib/training/python/training/hparam.py
with the following:
wget https://github.com/tensorflow/tensorflow/raw/v1.12.0/tensorflow/contrib/training/python/training/hparam.py
Once all other tensorflow dependencies of these file are removed, the class keeps its goal. Functions not available due to this process are not used in this project.
...@@ -19,7 +19,7 @@ import paddle ...@@ -19,7 +19,7 @@ import paddle
from paddle import fluid from paddle import fluid
import paddle.fluid.dygraph as dg import paddle.fluid.dygraph as dg
from weight_norm import Conv2D, Conv2DTranspose from .weight_norm import Conv2D, Conv2DTranspose
class Conv1D(dg.Layer): class Conv1D(dg.Layer):
......
...@@ -18,8 +18,8 @@ import paddle.fluid.dygraph as dg ...@@ -18,8 +18,8 @@ import paddle.fluid.dygraph as dg
import numpy as np import numpy as np
import conv from .import conv
import weight_norm as weight_norm from . import weight_norm
def FC(name_scope, def FC(name_scope,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册