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(); } }
public CNN(SWIGTYPE_p_Json__Value json_config) : this(rysyPINVOKE.new_CNN__SWIG_8(SWIGTYPE_p_Json__Value.getCPtr(json_config)), true) { if (rysyPINVOKE.SWIGPendingException.Pending) { throw rysyPINVOKE.SWIGPendingException.Retrieve(); } }
public CNN(SWIGTYPE_p_Json__Value json_config, Shape input_shape, Shape output_shape) : this(rysyPINVOKE.new_CNN__SWIG_6(SWIGTYPE_p_Json__Value.getCPtr(json_config), Shape.getCPtr(input_shape), Shape.getCPtr(output_shape)), true) { if (rysyPINVOKE.SWIGPendingException.Pending) { throw rysyPINVOKE.SWIGPendingException.Retrieve(); } }
public SWIGTYPE_p_Json__Value asJson() { SWIGTYPE_p_Json__Value ret = new SWIGTYPE_p_Json__Value(rysyPINVOKE.ClassificationCompare_asJson(swigCPtr), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Json__Value obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public SWIGTYPE_p_Json__Value get() { SWIGTYPE_p_Json__Value ret = new SWIGTYPE_p_Json__Value(rysyPINVOKE.JsonConfig_get(swigCPtr), true); return(ret); }