• A
    NFC: Clean up XLA op definitions · 42bab294
    A. Unique TensorFlower 提交于
    Avoid diamond inheritance in tablegen with classes that inherit from Op and also inherit from Results and Arguments.
    Remove extraneous Operand and Result names in cases where there's only one. There will already be a generated getOperand/getResult method. Having an additional "res" accessor doesn't add value.
    In places where naming a single result is necessary for traits that check directly against attribute names, named single results "result".
    Avoid non-elementwise ops inheriting from elementwise subclasses.
    
    PiperOrigin-RevId: 262642541
    42bab294
xla_ops.td 34.7 KB