Relucent.jl

Relucent.jl is a Julia wrapper around the Python package relucent.

Installation

using Pkg
Pkg.add("Relucent")

Quickstart

using Relucent
using PythonCall

np = pyimport("numpy")
nn = pyimport("torch.nn")

network = nn.Sequential(
    nn.Linear(2, 10),
    nn.ReLU(),
    nn.Linear(10, 5),
    nn.ReLU(),
    nn.Linear(5, 1),
)

cplx = Relucent.Complex(network)
cplx.bfs()

input_point = np.random.random((1, 2))
p = cplx.point2poly(input_point)

println(p.center)
println(cplx.get_dual_graph())

See the API page for wrapper entrypoints and return types.