TensorFlow 2.0 Beta is available Learn more

Module: tf.keras.constraints

Aliases:

  • Module tf.compat.v1.keras.constraints
  • Module tf.keras.constraints

Defined in python/keras/api/_v1/keras/constraints/__init__.py.

Classes

class Constraint

class MaxNorm: MaxNorm weight constraint.

class MinMaxNorm: MinMaxNorm weight constraint.

class NonNeg: Constrains the weights to be non-negative.

class UnitNorm: Constrains the weights incident to each hidden unit to have unit norm.

class max_norm: MaxNorm weight constraint.

class min_max_norm: MinMaxNorm weight constraint.

class non_neg: Constrains the weights to be non-negative.

class unit_norm: Constrains the weights incident to each hidden unit to have unit norm.

Functions

deserialize(...)

get(...)

serialize(...)