tinker.types.CustomLossInput
Generated from tinker 0.40.0 at commit 3e952a8. Source links point at that snapshot.
class tinker.types.CustomLossInput(StrictBase)
One input of a custom loss, with the rank every datum's value has.
Fields:
- name (str) –
logprobs, or theloss_fn_inputskey the loss reads. - rank (CustomLossInputRank)