MCPcopy Create free account
hub / github.com/apache/arrow / MeanInit

Function MeanInit

cpp/src/arrow/compute/kernels/aggregate_basic.cc:299–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297};
298
299Result<std::unique_ptr<KernelState>> MeanInit(KernelContext* ctx,
300 const KernelInitArgs& args) {
301 MeanKernelInit<MeanImplDefault> visitor(
302 ctx, args.inputs[0].GetSharedPtr(),
303 static_cast<const ScalarAggregateOptions&>(*args.options));
304 return visitor.Create();
305}
306
307// ----------------------------------------------------------------------
308// Product implementation

Callers

nothing calls this directly

Calls 1

CreateMethod · 0.45

Tested by

no test coverage detected