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

Method Compile

tensorflow/compiler/tf2xla/kernels/xla_svd_op.cc:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40 }
41 void Compile(XlaOpKernelContext* ctx) override {
42 auto result = xla::SVD(ctx->Input(0), max_iter_, epsilon_,
43 precision_config_.operand_precision(0));
44 ctx->SetOutput(0, result.d);
45 ctx->SetOutput(1, result.u);
46 ctx->SetOutput(2, result.v);
47 }
48
49 private:
50 int32 max_iter_;

Callers

nothing calls this directly

Calls 3

SVDFunction · 0.85
InputMethod · 0.45
SetOutputMethod · 0.45

Tested by

no test coverage detected