How to use the larq.constraints function in larq

To help you get started, we’ve selected a few larq examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github larq / zoo / larq_zoo / literature / meliusnet.py View on Github external
def kernel_constraint(self):
        return lq.constraints.WeightClip(1.3)
github larq / zoo / larq_zoo / literature / resnet_e.py View on Github external
def kernel_constraint(self):
        return lq.constraints.WeightClip(clip_value=1.25)
github larq / zoo / larq_zoo / literature / densenet.py View on Github external
def kernel_constraint(self):
        return lq.constraints.WeightClip(clip_value=1.3)
github larq / zoo / larq_zoo / sota / quicknet_large.py View on Github external
    kernel_constraint = Field(lambda: lq.constraints.WeightClip(clip_value=1.25))
github larq / zoo / larq_zoo / sota / quicknet.py View on Github external
def kernel_constraint(self):
        return lq.constraints.WeightClip(clip_value=1.25)