Skip to content

Commit

Permalink
Update ops.py
Browse files Browse the repository at this point in the history
  • Loading branch information
run-youngjoo committed Mar 4, 2019
1 parent 8dee691 commit 43b1fc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
import tensorflow as tf
from tensorflow.contrib.framework.python.ops import add_arg_scope

@add_arg_scope
# The gate convolution is made with reference to Deepfillv1(https://github.com/JiahuiYu/generative_inpainting)

@add_arg_scope
def gate_conv(x_in, cnum, ksize, stride=1, rate=1, name='conv',
padding='SAME', activation='leaky_relu', use_lrn=True,training=True):
assert padding in ['SYMMETRIC', 'SAME', 'REFELECT']
Expand Down

0 comments on commit 43b1fc5

Please sign in to comment.