# tinker.types.CustomLossGraph *Generated from tinker 0.38.0 at commit [`4fb85c7`](https://github.com/thinking-machines-lab/tinker/tree/4fb85c7a2be46300f340cedd16ef2fab881c0c38). Source links point at that snapshot.* ## *class* [**tinker.types.CustomLossGraph**](https://github.com/thinking-machines-lab/tinker/blob/4fb85c7a2be46300f340cedd16ef2fab881c0c38/src/tinker/types/custom_loss_graph.py#L41)(*[StrictBase](https://github.com/thinking-machines-lab/tinker/blob/4fb85c7a2be46300f340cedd16ef2fab881c0c38/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/4fb85c7a2be46300f340cedd16ef2fab881c0c38/src/tinker/types/custom_loss_graph.py#L46) (*Literal[1]*) - [**nodes**](https://github.com/thinking-machines-lab/tinker/blob/4fb85c7a2be46300f340cedd16ef2fab881c0c38/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)