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

Method InitOpKernelCacheWithFlags

oneflow/core/framework/op_kernel.h:300–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 }
299
300 virtual void InitOpKernelCacheWithFlags(KernelCacheContext* ctx, int8_t flag,
301 std::shared_ptr<OpKernelCache>* cache_ptr) const {
302 *cache_ptr = InitOpKernelCache(ctx);
303 }
304
305 virtual void Compute(KernelComputeContext* ctx, OpKernelState*, const OpKernelCache*) const {
306 Compute(ctx);

Callers 2

ForwardUserKernelMethod · 0.45
VirtualKernelInitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected