tranz 0.7.2

Point-embedding knowledge graph models: TransE, RotatE, ComplEx, DistMult. GPU training via Burn (wgpu/Metal).
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 = "2021"
rust-version = "1.89"
name = "tranz"
version = "0.7.2"
authors = ["Arc <attobop@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Point-embedding knowledge graph models: TransE, RotatE, ComplEx, DistMult. GPU training via Burn (wgpu/Metal)."
readme = "README.md"
keywords = [
    "knowledge-graph",
    "embeddings",
    "link-prediction",
]
categories = [
    "science",
    "algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/arclabs561/tranz"

[package.metadata.docs.rs]
features = ["burn-ndarray"]

[features]
artifact-manifest = [
    "dep:serde",
    "dep:serde_json",
    "dep:sha2",
]
burn-ndarray = [
    "dep:burn",
    "dep:burn-ndarray",
    "rand",
    "artifact-manifest",
]
burn-wgpu = [
    "dep:burn",
    "dep:burn-wgpu",
    "rand",
    "artifact-manifest",
]
default = ["rand"]
serde = ["dep:serde"]

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

[[bin]]
name = "tranz"
path = "src/bin/tranz.rs"
test = false
required-features = ["burn-ndarray"]

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

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

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

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

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

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

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

[dependencies.burn]
version = "0.20"
features = ["autodiff"]
optional = true

[dependencies.burn-ndarray]
version = "0.20"
features = ["rayon"]
optional = true

[dependencies.burn-wgpu]
version = "0.20"
optional = true

[dependencies.lattix]
version = "0.6"
features = ["kge"]
default-features = false

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.rayon]
version = "1"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.vicinity]
version = "0.10"

[lints.rust]
missing_docs = "warn"