Skip to content

Commit

Permalink
build(deps): replace Flux dependency with OneHotArrays
Browse files Browse the repository at this point in the history
Replace Flux, which is a pretty big dependency, with the much
more lightweight and specialized OneHotArrays.
  • Loading branch information
thazhemadam committed Nov 3, 2023
1 parent b4ac292 commit 1fd4f4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@ version = "0.7.1"
AtomsBase = "a963bdd2-2df7-4f54-a1ee-49d51e6be12a"
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
JSON3 = "0f8b85d8-7281-11e9-16c2-39a750bddbf1"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
OneHotArrays = "0b1bfda6-eb8a-41d2-88d8-f5af5cad476f"
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

[compat]
AtomsBase = "0.3"
CSV = "0.7, 0.8, 0.9, 0.10"
DataFrames = "0.21, 0.22, 1.0, 1.1"
Flux = "0.11, 0.12, 0.13"
JSON3 = "1.9"
julia = "1.6, 1.7"

Expand Down
2 changes: 1 addition & 1 deletion src/codecs/onehotonecold.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Flux: onecold
using OneHotArrays: onecold

include("onehotonecold_utils.jl")

Expand Down

0 comments on commit 1fd4f4e

Please sign in to comment.