Interface Regularizer

All Known Implementing Classes:
AbstractRegularizer, L1, L1L2, L2

public interface Regularizer
  • Method Summary

    Modifier and Type
    Method
    Description
    <R extends TNumber>
    Operand<R>
    call(Ops tf, Operand<R> input)
    Computes a regularization penalty from an input.
  • Method Details

    • call

      <R extends TNumber> Operand<R> call(Ops tf, Operand<R> input)
      Computes a regularization penalty from an input.
      Type Parameters:
      R - the data type of the input and result
      Parameters:
      tf - the TensorFlow Ops
      input - the weighted input
      Returns:
      the result of computing the regularization penalty