Computes cos of x element-wise. Arguments: x: Tensor or variable. Returns: A tensor.
(x)
| 2354 | |
| 2355 | @keras_export('keras.backend.cos') |
| 2356 | def cos(x): |
| 2357 | """Computes cos of x element-wise. |
| 2358 | |
| 2359 | Arguments: |
| 2360 | x: Tensor or variable. |
| 2361 | |
| 2362 | Returns: |
| 2363 | A tensor. |
| 2364 | """ |
| 2365 | return math_ops.cos(x) |
| 2366 | |
| 2367 | |
| 2368 | def _regular_normalize_batch_in_training(x, |
no outgoing calls