Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
namespace {
22
23
Maybe<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
GetSbp
Method · 0.85
Calls
3
NewBuilder
Method · 0.80
Build
Method · 0.45
outputs
Method · 0.45
Tested by
no test coverage detected