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

Method InitialValue

tensorflow/compiler/tf2xla/kernels/reduction_ops.cc:71–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 : XlaReductionOp(ctx, ctx->input_type(0)) {}
70
71 xla::XlaOp InitialValue(xla::XlaBuilder* builder) override {
72 return xla::MaxValue(builder, xla_reduction_type_);
73 }
74
75 void BuildReducer(xla::XlaBuilder* builder, const xla::XlaOp& scalar_lhs,
76 const xla::XlaOp& scalar_rhs) override {

Callers

nothing calls this directly

Calls 1

MaxValueFunction · 0.85

Tested by

no test coverage detected