neuron_output
Computes a single neuron's output from inputs, weights with bias, and an activation function (threshold, logistic, ReLU, tanh, or linear).
Instructions
Output of one neuron. weights = [w0 (bias), w1, ...]. activation: all | threshold | logistic | relu | tanh | linear.
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": {
"inputs": "<inputs>",
"weights": "<weights>"
},
"name": "neuron_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| weights | Yes | ||
| activation | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |