respect the coding standard (fix a missed part)
@@ -83,10 +83,10 @@ class BilinearFunction(function.Function):
e2 = array.as_mat(inputs[1])
W = inputs[2]
- if(not type_check.same_types(*inputs)):
+ if not type_check.same_types(*inputs):
raise ValueError('numpy and cupy must not be used together\n'
- 'type(W): %s, type(e1): %s, type(e2): %s'
- % (type(W), type(e1), type(e2)))
+ 'type(W): {0}, type(e1): {1}, type(e2): {2}'
+ .format(type(W), type(e1), type(e2)))
gy = grad_outputs[0]
