development of flow for neural network diagrams
luis 88cd0e7f8c Initial | 7 年之前 | |
---|---|---|
x | 7 年之前 | |
README.md | 7 年之前 | |
benchmark_test.go | 7 年之前 | |
errors.go | 7 年之前 | |
flow.go | 7 年之前 | |
flow_test.go | 7 年之前 | |
operation.go | 7 年之前 | |
registry.go | 7 年之前 |
f := flow.New(f);
v := f.Variable([]float32{1,2,3}) // Init value
Simplified flow even more maintaining a func
Flow will create an array of operators with references as inputs the builder will create the Graph
We should not allow user to directly pass Operation to the flow.Op
method,
since the serialization will be hard then
define future inputs for operation groups
g.Run([]O{op1,op2},1,2,3)
Grab all operators in a list create a reference lookup table
system combine several flows
Idea:
Develop and combine operators to create a function,
using ECS (entity component system) to extend each Operator, so if we have UI we store UI information in UI component
Each node has components create multiple channels to each node
CNN - combines convolution matrixes with images then sends to a regular neural network
a Node could have input and properties?
perpare linkages as AddSource(node) every time we call, it will call the results
// Prototype
n := flow.AddNode(&node)
n.AddSource(&otherNode)