Computes logarithm (base-2) of values in `input`. :rtype: TensorList of log2(input). If input is an integer, the result will be float, otherwise the type is preserved.
(input)
| 78 | |
| 79 | |
| 80 | def log2(input) -> _DataNode: |
| 81 | """Computes logarithm (base-2) of values in `input`. |
| 82 | |
| 83 | :rtype: TensorList of log2(input). If input is an integer, the result will be float, |
| 84 | otherwise the type is preserved. |
| 85 | """ |
| 86 | return _arithm_op("log2", input) |
| 87 | |
| 88 | |
| 89 | def log10(input) -> _DataNode: |
no test coverage detected