Skip to main content

Tools to encode PyTorch modules as Z3 constraints

Project description

Lantern: safer than a torch

Lantern is a software package to support SMT analysis of affine multiplexing neural networks using PyTorch and Z3.

See: docs/lantern/ for (generated) documentation.

See: requirements.txt for dependencies.

An annotated demonstrates basic usage.

Lantern was developed against torch==1.5.0 and z3-solver== Linear Real Arithmetic appears to be stable, but we have noticed some changes to the floating point solvers as z3 continues to be developed.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lantern-smt-0.1.0.tar.gz (4.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page