nbml 0.3.5

Machine Learning Primitives
Documentation
# 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 = "2024"
name = "nbml"
version = "0.3.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Machine Learning Primitives"
homepage = "https://github.com/naatebarber/nbml"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/naatebarber/nbml"

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

[[example]]
name = "attention_impl_h2h"
path = "examples/attention_impl_h2h.rs"

[[example]]
name = "attention_test"
path = "examples/attention_test.rs"

[[example]]
name = "broadcast"
path = "examples/broadcast.rs"

[[example]]
name = "gla_associative"
path = "examples/gla_associative.rs"

[[example]]
name = "gla_selective"
path = "examples/gla_selective.rs"

[[example]]
name = "lsa_associative"
path = "examples/lsa_associative.rs"

[[example]]
name = "sequence_decoder"
path = "examples/sequence_decoder.rs"

[[example]]
name = "transformer_2"
path = "examples/transformer_2.rs"

[[example]]
name = "two_class"
path = "examples/two_class.rs"

[[example]]
name = "xor"
path = "examples/xor.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.ndarray]
version = "0.16.1"
features = ["serde"]

[dependencies.ndarray-rand]
version = "0.15.0"

[dependencies.ndarray-stats]
version = "0.6.0"

[dependencies.plotly]
version = "0.12.1"

[dependencies.rand]
version = "0.9.2"

[dependencies.serde]
version = "1.0.197"
features = [
    "derive",
    "rc",
]

[dependencies.serde-binary]
version = "0.5.0"

[dependencies.serde_json]
version = "1.0.145"