예제 #1
0
 public NodeCompiler(RegisterState registers)
 {
     _registers                    = registers;
     _nodeGrouper                  = new NodeGrouper(registers);
     _constantCompiler             = new ConstantCompiler(_nodeGrouper);
     _matrixMultiplicationCompiler = new MatrixMultiplicationCompiler(this);
 }
예제 #2
0
 public NodeGrouper(RegisterState registers)
 {
     DotProductGrouper           = new DotProductGrouper(this);
     LengthGrouper               = new LengthGrouper(this);
     MatrixMultiplicationGrouper = new MatrixMultiplicationGrouper(this, registers);
     NormalizeGrouper            = new NormalizeGrouper(this);
     _registers = registers;
 }
 public MatrixMultiplicationGrouper(RegisterState registers)
 {
     _registers = registers;
 }
 public MatrixMultiplicationGrouper(NodeGrouper nodeGrouper, RegisterState registers)
 {
     _nodeGrouper = nodeGrouper;
     _registers   = registers;
 }
예제 #5
0
 public NodeGrouper(RegisterState registers)
 {
     MatrixMultiplicationGrouper = new MatrixMultiplicationGrouper(registers);
     NormalizeGrouper            = new NormalizeGrouper();
     _registers = registers;
 }