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

Method Outer

tensorflow/python/ops/gradients_test.py:553–564  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

551
552 @function.defun()
553 def Outer():
554 outer1 = array_ops.identity(x1, name="outer1")
555
556 @function.defun()
557 def Inner():
558 inner1 = array_ops.identity(outer1, name="inner1")
559 inner2 = array_ops.identity(x2, name="inner2")
560 inner3 = array_ops.identity(x3, name="inner3")
561 return gradients_impl.gradients([inner1, inner2, inner3, x1],
562 [x1, x2])
563
564 return Inner()
565
566 x1_grad, x2_grad = Outer()
567 with self.cached_session() as sess:

Callers

nothing calls this directly

Calls 3

multiplyMethod · 0.80
InnerClass · 0.50
identityMethod · 0.45

Tested by

no test coverage detected