/// <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); }
/// <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); }
/// <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); }