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

Method BinaryOp

tensorflow/core/framework/numeric_op.h:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40class BinaryOp : public OpKernel {
41 public:
42 explicit BinaryOp(OpKernelConstruction* context) : OpKernel(context) {
43 const DataType dt = DataTypeToEnum<T>::v();
44 OP_REQUIRES_OK(context, context->MatchSignature({dt, dt}, {dt}));
45 }
46};
47
48// For operations where the input and output are the same shape.

Callers

nothing calls this directly

Calls 1

MatchSignatureMethod · 0.80

Tested by

no test coverage detected