MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / DelayOp

Method DelayOp

tensorflow/core/common_runtime/testlib_ops.cc:88–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86class DelayOp : public AsyncOpKernel {
87 public:
88 explicit DelayOp(OpKernelConstruction* ctx) : AsyncOpKernel(ctx) {
89 OP_REQUIRES_OK(ctx, ctx->GetAttr("micros", &micros_));
90 }
91
92 void ComputeAsync(OpKernelContext* ctx, DoneCallback done) override {
93 ctx->set_output(0, ctx->input(0));

Callers

nothing calls this directly

Calls 1

GetAttrMethod · 0.45

Tested by

no test coverage detected