예제 #1
0
 /// <summary>
 /// Outputs the specified op as component.
 /// </summary>
 /// <remarks>Must always first output components with lower values,
 /// to ensure correct input layers.</remarks>
 /// <param name="op">The op.</param>
 /// <param name="component">The component.</param>
 public void Output(Operand op, PinComponent component)
 {
     if (op.IsArray)
     {
         throw new IncompatibleOperandsException("Output operands must be non-array.");
     }
     compiler.Output(component, op.Format, op.Name);
 }