gradcheck 0.1.0

Finite-difference gradient checking for Rust ML frameworks. Verifies an autodiff engine against an independent numerical oracle, with a negative control that must fail.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.75"
name = "gradcheck"
version = "0.1.0"
authors = ["Henos D <henosd19@gmail.com>"]
build = false
exclude = ["example-project"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Finite-difference gradient checking for Rust ML frameworks. Verifies an autodiff engine against an independent numerical oracle, with a negative control that must fail."
documentation = "https://docs.rs/gradcheck"
readme = "README.md"
keywords = [
    "autodiff",
    "gradient",
    "testing",
    "machine-learning",
    "verification",
]
categories = [
    "science",
    "development-tools::testing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/4ktLuffy/gradcheck"

[package.metadata.docs.rs]
all-features = true

[features]
burn = ["dep:burn-tensor"]
burn-cpu = [
    "burn",
    "burn-tensor/cpu",
]
burn-flex = [
    "burn",
    "burn-tensor/flex",
]
burn-ndarray = [
    "burn",
    "burn-tensor/ndarray",
]
default = []

[lib]
name = "gradcheck"
path = "src/lib.rs"

[[example]]
name = "issue_repro"
path = "examples/issue_repro.rs"
required-features = ["burn"]

[[test]]
name = "burn_adapter"
path = "tests/burn_adapter.rs"

[[test]]
name = "ceiling_experiment"
path = "tests/ceiling_experiment.rs"

[[test]]
name = "comparator_holes"
path = "tests/comparator_holes.rs"

[[test]]
name = "control_matrix"
path = "tests/control_matrix.rs"

[[test]]
name = "fd_positive_control"
path = "tests/fd_positive_control.rs"

[[test]]
name = "observability"
path = "tests/observability.rs"

[[test]]
name = "pool_version_boundary"
path = "tests/pool_version_boundary.rs"

[[test]]
name = "reference_backend"
path = "tests/reference_backend.rs"

[[test]]
name = "regression_5304"
path = "tests/regression_5304.rs"

[[test]]
name = "second_order"
path = "tests/second_order.rs"

[dependencies.burn-tensor]
version = "0.22.0-pre.1"
features = [
    "autodiff",
    "std",
]
optional = true
default-features = false