MCPcopy Create free account
hub / github.com/alibaba/euler / SampleNode

Method SampleNode

tf_euler/kernels/sample_node_op.cc:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27class SampleNode: public AsyncOpKernel {
28 public:
29 explicit SampleNode(OpKernelConstruction* ctx): AsyncOpKernel(ctx) {
30 OP_REQUIRES_OK(ctx, ctx->GetAttr("condition", &condition_));
31 }
32
33 void ComputeAsync(OpKernelContext* ctx, DoneCallback done) override;
34

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected