Skip to content
Commit fcf15a68 authored by Jacques Pienaar's avatar Jacques Pienaar Committed by jpienaar
Browse files

Add op create helper on CFG and ML builder.

Add create function on builder to make it easier to create ops of registered types. Enables doing `builder.create<AddFOp>(lhs, rhs)` as well as having default values on the build method.

This CL does not add a default build method (i.e., create<DimOp>(...) would fail).

PiperOrigin-RevId: 207268882
parent 2cf3d229
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment