np_tanh
Calculate the hyperbolic tangent of each element in an input array, performing element-wise mathematical operation.
Instructions
Hyperbolic tangent, element-wise.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"array": "<array>"
},
"name": "np_tanh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| array | Yes | The input array. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |