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

Function CheckStepShapeInCtx

oneflow/user/ops/summary_ops.cpp:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28Maybe<void> CheckStepShapeInCtx(user_op::InferContext* ctx) {
29 JUST(CheckStepShape(&ctx->InputShape("step", 0)));
30 return Maybe<void>::Ok();
31}
32
33Maybe<void> CheckInAndStepScalar(user_op::InferContext* ctx) {
34 const Shape& in_shape = ctx->InputShape("in", 0);

Callers 1

Calls 1

CheckStepShapeFunction · 0.85

Tested by

no test coverage detected