Skip to content

Directed Acyclic Graph with Tensors and Operators in Zig

Notifications You must be signed in to change notification settings

petermcevoy/dagprop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Small personal project.

Directed Acyclic Graph with n-dimensional arrays (tensors) and operators to describe computation. The graph can be evaluated in a forward pass to give a result and also in a backward pass to perform backpropagation of gradients.

$ zig build -Doptimize=ReleaseSafe example_simple
info: Performing forward pass in DAG
Value of sub node is: 1.8e+01
info: Performing backward pass in DAG
Backpropagated gradient of intial constant: 6.0e+00

About

Directed Acyclic Graph with Tensors and Operators in Zig

Resources

Stars

Watchers

Forks

Languages