Skip to main content

Crate tenferro_scalar_consumer_algorithm

Crate tenferro_scalar_consumer_algorithm 

Source
Expand description

The algorithm role of the external-scalar consumer.

The algorithm states the capabilities it needs and never names a scalar, a provider, or a dtype-specific entry point. The application supplies the bindings, so the same source runs with canonical standard support and with an application-added scalar contribution.

Traits§

ScalarSupport
The scalar and operation capabilities the algorithm requires from its binding.

Functions§

factor_norm_gradient
The objective’s gradient with respect to the program input.
squared_factor_norm
The loss the connected program minimizes: the squared norm of the triangular factor.