| 26 | explicit XlaSortOp(OpKernelConstruction* context) : XlaOpKernel(context) {} |
| 27 | |
| 28 | void Compile(XlaOpKernelContext* context) override { |
| 29 | context->SetOutput(0, xla::Sort({context->Input("input")}, |
| 30 | xla::CreateScalarLtComputation( |
| 31 | {context->InputXlaType("input")}, |
| 32 | context->builder()))); |
| 33 | } |
| 34 | }; |
| 35 | |
| 36 | REGISTER_XLA_OP(Name("XlaSort"), XlaSortOp); |
nothing calls this directly
no test coverage detected