u = u.unlinked()
u.need_grad = not fix_parameters
if fix_parameters == v.need_grad:
v = v.unlinked()v.need_grad = not fix_parameters
if with_bias and b_init is None:
b_init = ConstantInitializer()
b = None
if with_bias:
After Change
if fix_parameters == u.need_grad:
u = u.get_unlinked_variable(need_grad=not fix_parameters)
if fix_parameters == v.need_grad:
v = v.get_unlinked_variable(need_grad=not fix_parameters)
if with_bias and b_init is None:
b_init = ConstantInitializer()
b = None
if with_bias: