Calculate the vector inner product between two lists of Tensors.
(xs, ys, name=None)
| 78 | |
| 79 | |
| 80 | def _dot_product(xs, ys, name=None): |
| 81 | """Calculate the vector inner product between two lists of Tensors.""" |
| 82 | with ops.name_scope(name, 'dot_product', [xs, ys]) as scope: |
| 83 | return math_ops.add_n([x * y for x, y in zip(xs, ys)], name=scope) |
| 84 | |
| 85 | |
| 86 | def _runge_kutta_step(func, |
no test coverage detected