RSVP für Ihr lokales TensorFlow Everywhere-Event noch heute!


Asserts that weights satisfiy constraints.

weights Tensor which represents weights of Categorical calibration layer.
output_min Lower bound constraint on weights.
output_max Upper bound constraint on weights.
monotonicities List of pair of indices (i, j), indicating constraint weight[i] <= weight[j].
debug_tensors None or list of anything convertible to tensor (for example tensors or strings) which will be printed in case of constraints violation.
eps Allowed constraints violation.

List of assertion ops in graph mode or immideately asserts in eager mode.