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

Function _apply_op

tensorflow/python/framework/ops_test.py:502–507  ·  view source on GitHub ↗
(g, *args, **kwargs)

Source from the content-addressed store, hash-verified

500
501
502def _apply_op(g, *args, **kwargs):
503 op = g.create_op(*args, **kwargs)
504 if len(op.outputs) == 1:
505 return op.outputs[0]
506 else:
507 return op.outputs
508
509
510class OperationTest(test_util.TensorFlowTestCase):

Callers 13

testNodeDefArgsMethod · 0.85
testReferenceInputMethod · 0.85
testMembershipAllowedMethod · 0.85
testNestedMethod · 0.85
testClearMethod · 0.85
testComplexMethod · 0.85
testSparseTensorMethod · 0.85

Calls 1

create_opMethod · 0.45

Tested by

no test coverage detected