Make last argument of conv variadic.
This commit is contained in:
		
							parent
							
								
									deef363309
								
							
						
					
					
						commit
						fc352745e0
					
				| 
						 | 
					@ -322,7 +322,7 @@ def ONNXConvOp:ONNX_Op<"Conv",
 | 
				
			||||||
    "The convolution operator consumes an input tensor and a filter, and"
 | 
					    "The convolution operator consumes an input tensor and a filter, and"
 | 
				
			||||||
    "computes the output."
 | 
					    "computes the output."
 | 
				
			||||||
  }];
 | 
					  }];
 | 
				
			||||||
  let arguments = (ins AnyTypeOf<[AnyMemRef, AnyTensor]>:$X, AnyTypeOf<[AnyMemRef, AnyTensor]>:$W, AnyTypeOf<[AnyMemRef, AnyTensor]>:$B);
 | 
					  let arguments = (ins AnyTypeOf<[AnyMemRef, AnyTensor]>:$X, AnyTypeOf<[AnyMemRef, AnyTensor]>:$W, Variadic<AnyTypeOf<[AnyMemRef, AnyTensor]>>:$B);
 | 
				
			||||||
  let results = (outs AnyTypeOf<[AnyMemRef, AnyTensor]>);
 | 
					  let results = (outs AnyTypeOf<[AnyMemRef, AnyTensor]>);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue