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

Class BinaryOp

tensorflow/core/framework/numeric_op.h:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38// Two inputs and one output, all the same type.
39template <class T>
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.
49//

Callers 11

BinaryFunction · 0.50
BinaryUnknownShapeFunction · 0.50
BinaryFunction · 0.50
BinaryUnknownShapeFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TEST_FFunction · 0.50
ReferenceTestHelperMethod · 0.50
TEST_PFunction · 0.50
CombineFunction · 0.50

Calls

no outgoing calls

Tested by 11

BinaryFunction · 0.40
BinaryUnknownShapeFunction · 0.40
BinaryFunction · 0.40
BinaryUnknownShapeFunction · 0.40
TESTFunction · 0.40
TESTFunction · 0.40
TESTFunction · 0.40
TEST_FFunction · 0.40
ReferenceTestHelperMethod · 0.40
TEST_PFunction · 0.40
CombineFunction · 0.40