internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_sEmbeddedNetShape obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public LayerExport(string export_path, SWIGTYPE_p_Json__Value json, string layer_prefix, SWIGTYPE_p_sEmbeddedNetShape input_shape, SWIGTYPE_p_sEmbeddedNetShape output_shape) : this(rysyPINVOKE.new_LayerExport(export_path, SWIGTYPE_p_Json__Value.getCPtr(json), layer_prefix, SWIGTYPE_p_sEmbeddedNetShape.getCPtr(input_shape), SWIGTYPE_p_sEmbeddedNetShape.getCPtr(output_shape)), true) { if (rysyPINVOKE.SWIGPendingException.Pending) { throw rysyPINVOKE.SWIGPendingException.Retrieve(); } }