# tinker.types.CustomLossGraph *Generated from tinker 0.40.0 at commit [`3e952a8`](https://github.com/thinking-machines-lab/tinker/tree/3e952a8b979654cacc9dc68aadeb50bc418036a7). Source links point at that snapshot.* ## *class* [**tinker.types.CustomLossGraph**](https://github.com/thinking-machines-lab/tinker/blob/3e952a8b979654cacc9dc68aadeb50bc418036a7/src/tinker/types/custom_loss_graph.py#L41)(*[StrictBase](https://github.com/thinking-machines-lab/tinker/blob/3e952a8b979654cacc9dc68aadeb50bc418036a7/src/tinker/_models.py#L76)*) A traced custom loss as plain data: its nodes in execution order. Nothing in it is executable until the server rebuilds it from its own list of allowed operations. **Fields:** - [**format**](https://github.com/thinking-machines-lab/tinker/blob/3e952a8b979654cacc9dc68aadeb50bc418036a7/src/tinker/types/custom_loss_graph.py#L46) (*Literal[1]*) - [**nodes**](https://github.com/thinking-machines-lab/tinker/blob/3e952a8b979654cacc9dc68aadeb50bc418036a7/src/tinker/types/custom_loss_graph.py#L48) (*List\[[CustomLossNode](https://tinker-docs.thinkingmachines.ai/tinker/api-reference/types/customlossnode/index.md)\]*) ## Referenced by - [tinker.types.CreateCustomLossRequest](https://tinker-docs.thinkingmachines.ai/tinker/api-reference/types/createcustomlossrequest/index.md)