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

Function Reduce

tensorflow/compiler/xla/client/xla_builder.cc:3315–3320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3313}
3314
3315XlaOp Reduce(const XlaOp operand, const XlaOp init_value,
3316 const XlaComputation& computation,
3317 absl::Span<const int64> dimensions_to_reduce) {
3318 return operand.builder()->Reduce(operand, init_value, computation,
3319 dimensions_to_reduce);
3320}
3321
3322// Reduces several arrays simultaneously among the provided dimensions, given
3323// "computation" as a reduction operator.

Callers 15

ReduceMethod · 0.70
ReduceAllMethod · 0.70
TEST_FFunction · 0.70
ExportXlaOpFunction · 0.50
CompileMethod · 0.50
BilinearWeightsFunction · 0.50
BoundSamplesFunction · 0.50
CalculateGradWarpFunction · 0.50
CompileMethod · 0.50
CompileMethod · 0.50
CompileMethod · 0.50
CompileMethod · 0.50

Calls 2

ReduceMethod · 0.45
builderMethod · 0.45

Tested by 15

TEST_FFunction · 0.56
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40