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

Method PhiloxRandomOp

tensorflow/core/kernels/random_op.cc:69–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 public:
68 typedef typename Distribution::ResultElementType T;
69 explicit PhiloxRandomOp(OpKernelConstruction* ctx) : OpKernel(ctx) {
70 OP_REQUIRES_OK(ctx, generator_.Init(ctx));
71 }
72
73 void Compute(OpKernelContext* ctx) override {
74 const Tensor& shape = ctx->input(0);

Callers

nothing calls this directly

Calls 1

InitMethod · 0.45

Tested by

no test coverage detected