MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Compile

Method Compile

tensorflow/compiler/tf2xla/kernels/sort_ops.cc:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
36REGISTER_XLA_OP(Name("XlaSort"), XlaSortOp);

Callers

nothing calls this directly

Calls 6

InputXlaTypeMethod · 0.80
SortFunction · 0.50
SetOutputMethod · 0.45
InputMethod · 0.45
builderMethod · 0.45

Tested by

no test coverage detected