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

Function CopyNdPrimitiveExists

oneflow/user/kernels/same_padding_kernel.cpp:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45auto CopyNdPrimitiveExists() {
46 return hob::make_custom("CopyNdPrimitiveExists", [](const user_op::KernelRegContext& ctx) {
47 return NewCopyNdPrimitive(&ctx).operator bool();
48 });
49}
50
51} // namespace
52

Callers 1

Calls 1

NewCopyNdPrimitiveFunction · 0.70

Tested by

no test coverage detected