Interface Constraint

All Known Implementing Classes:
AbstractConstraint, MaxNorm, MinMaxNorm, NonNeg, UnitNorm

public interface Constraint
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends TNumber>
    Operand<T>
    call(Ops tf, Operand<T> weights)
    Applies the constraint against the provided weights
  • Method Details

    • call

      <T extends TNumber> Operand<T> call(Ops tf, Operand<T> weights)
      Applies the constraint against the provided weights
      Type Parameters:
      T - the data type for weights and results.
      Parameters:
      tf - the TensorFlow Ops
      weights - the weights
      Returns:
      the constrained weights