Created by: Haichao-Zhang
split dotmul_projection and dotmul_operator and fixed a few with bugs related to dotmul_operator
435 proj.origin = input 436 proj.origin.projection = "dot_mul" 437 return proj 438 else: 439 assert isinstance(input, list) or isinstance(input, tuple) 440 assert len(input) == 2 441 assert param_attr is None 442 op = DotMulOperator(input_layer_name=[x.name for x in input], 443 scale=scale) 444 op.origin = input 445 op.origin.operator = "dot_mul" 446 return op 432 proj.origin = input 433 return proj 434 435 def dotmul_operator(x, y, scale=1):