NFC: Add a description to the ODS interface example.

PiperOrigin-RevId: 270978748
This commit is contained in:
River Riddle 2019-09-24 13:51:56 -07:00 committed by A. Unique TensorFlower
parent 635544fc12
commit f7ad5b411c

View file

@ -184,8 +184,15 @@ interface above as:
```tablegen
def ExampleOpInterface : OpInterface<"ExampleOpInterface"> {
let description = [{
This is an example interface definition.
}];
let methods = [
InterfaceMethod<"unsigned", "getNumInputs">,
InterfaceMethod<
"Get the number of inputs for the current operation.",
"unsigned", "getNumInputs"
>,
];
}
```