* Return a new Tensor with the sigmoid function applied to each element. * @returns {Tensor} The tensor with the sigmoid function applied.
()
| 207 | * @returns {Tensor} The tensor with the sigmoid function applied. |
| 208 | */ |
| 209 | sigmoid() { |
| 210 | return this.clone().sigmoid_(); |
| 211 | } |
| 212 | |
| 213 | /** |
| 214 | * Applies the sigmoid function to the tensor in place. |
no test coverage detected