core.HasOutputHessian
core.HasOutputHessian()Closed-form output Hessian. Without it, output_hessian uses the MC Fisher.
Methods
| Name | Description |
|---|---|
| output_hessian | The output Hessian (the Fisher) at f, in closed form. |
output_hessian
core.HasOutputHessian.output_hessian(f, /)The output Hessian (the Fisher) at f, in closed form.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| f | Outputs | Model outputs for a batch. | required |
Returns
| Name | Type | Description |
|---|---|---|
| OutputHessian | The per-example output Hessian. |