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

Method GetSbp

oneflow/user/ops/image_object_preprocess_ops.cpp:47–49  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

45}
46
47/* static */ Maybe<void> ImageFlipOp::GetSbp(user_op::SbpContext* ctx) {
48 return ImageObjectGetSbp(ctx);
49}
50
51/* static */ Maybe<void> ImageFlipOp::InferDataType(user_op::InferContext* ctx) {
52 const user_op::TensorDesc& in_desc = ctx->InputTensorDesc("in", 0);

Callers

nothing calls this directly

Calls 1

ImageObjectGetSbpFunction · 0.85

Tested by

no test coverage detected