error message is inconsistent with documentation in tf.nn.leaky_relu
Hi. Is anyone working on the issue to update the docs/error message? Would love to take it up and start working on the issue
<details><summary>Click to expand!</summary> 
 
 ### Issue Type

Bug

### Have you reproduced the bug with TF nightly?

Yes

### Source

source

### Tensorflow Version

tf 2.12.0

### Custom Code

Yes

### OS Platform and Distribution

win11

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/Compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current Behaviour?

According to [doc](https://tensorflow.google.cn/api_docs/python/tf/nn/leaky_relu), the argument `features` can be `float16, float32, float64, int32, int64`. But the error message in following snippet code indicates that the type of `features` can only be `float16, float32, float64` without `int`.

### Standalone code to reproduce the issue

```shell
import tensorflow as tf
results={}
try:
  features = [True]
  results["res"] = tf.nn.leaky_relu(features=features,)
except Exception as e:
  results["err"] = "Error:"+str(e)
print(results)
# results={'err': "Error:Value for attr 'T' of bool is not in the list of allowed values: half, bfloat16, float, double\n\t; NodeDef: {{node LeakyRelu}}; Op<name=LeakyRelu; signature=features:T -> activations:T; attr=alpha:float,default=0.2; attr=T:type,default=DT_FLOAT,allowed=[DT_HALF, DT_BFLOAT16, DT_FLOAT, DT_DOUBLE]> [Op:LeakyRelu]"}
```


### Relevant log output

_No response_</details>