yobx.reference.ops.op__overwrite_log_softmax#

Implements dtype-preserving LogSoftmax through native runtime callbacks.

class yobx.reference.ops.op__overwrite_log_softmax.LogSoftmax_1(node, run_params=None)[source]#

Computes legacy LogSoftmax after flattening dimensions from the selected axis.

class yobx.reference.ops.op__overwrite_log_softmax.LogSoftmax_13(node, run_params=None)[source]#

Computes LogSoftmax along one axis without flattening the input.

class yobx.reference.ops.op__overwrite_log_softmax.SoftmaxCrossEntropyLoss(node, run_params=None)[source]#

Widens low-precision scores for the native float32 loss kernel.

yobx.reference.ops.op__overwrite_log_softmax.log_softmax(data, axis)[source]#

Computes stable log probabilities with float32 accumulation for small floats.