MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / ImageObjectGetSbp

Function ImageObjectGetSbp

oneflow/user/ops/image_object_preprocess_ops.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace {
22
23Maybe<void> ImageObjectGetSbp(user_op::SbpContext* ctx) {
24 ctx->NewBuilder().Split(ctx->inputs(), 0).Split(ctx->outputs(), 0).Build();
25 return Maybe<void>::Ok();
26}
27
28} // namespace
29

Callers 1

GetSbpMethod · 0.85

Calls 3

NewBuilderMethod · 0.80
BuildMethod · 0.45
outputsMethod · 0.45

Tested by

no test coverage detected