示例#1
0
 /// <summary>
 /// Defines an unary (one input – one output) computation.
 /// </summary>
 /// <param name="input">Input GMat of the defined unary computation</param>
 /// <param name="output">Output GScalar of the defined unary computation</param>
 public GComputation(GMat input, GScalar output)
 {
     _ptr = GapiInvoke.cveGComputationCreate2(input, output);
 }
示例#2
0
 /// <summary>
 /// Defines a binary (two inputs – one output) computation.
 /// </summary>
 /// <param name="input1">First input GMat of the defined binary computation</param>
 /// <param name="input2">Second input GMat of the defined binary computation</param>
 /// <param name="output">Output GScalar of the defined binary computation</param>
 public GComputation(GMat input1, GMat input2, GScalar output)
 {
     _ptr = GapiInvoke.cveGComputationCreate4(input1, input2, output);
 }
示例#3
0
 /// <summary>
 /// Defines an unary (one input – one output) computation.
 /// </summary>
 /// <param name="input">Input GMat of the defined unary computation</param>
 /// <param name="output">Output GMat of the defined unary computation</param>
 public GComputation(GMat input, GMat output)
 {
     _ptr = GapiInvoke.cveGComputationCreate1(input, output);
 }