Lookups Placeholder `pl` in the reduction map.
(self, pl)
| 1046 | return math_ops.reduce_sum(y, axis=0) |
| 1047 | |
| 1048 | def _lookup_reduction(self, pl): |
| 1049 | """Lookups Placeholder `pl` in the reduction map.""" |
| 1050 | msg = "Expected Tensor, got {} of type {}." |
| 1051 | assert isinstance(pl, ops.Tensor), msg.format(pl, type(pl)) |
| 1052 | return self._reduce_concat_map.get(pl, None) |
| 1053 | |
| 1054 | |
| 1055 | class PFor(object): |
no test coverage detected