(self, condition, x=None, y=None)
| 3202 | return a |
| 3203 | |
| 3204 | def where(self, condition, x=None, y=None): |
| 3205 | if x is None and y is None: |
| 3206 | return tnp.where(condition) |
| 3207 | else: |
| 3208 | return tnp.where(condition, x, y) |
| 3209 | |
| 3210 | def copy(self, a): |
| 3211 | return tf.identity(a) |