Ejemplo n.º 1
0
 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();
     }
 }
Ejemplo n.º 2
0
 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();
     }
 }
Ejemplo n.º 3
0
 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();
     }
 }
Ejemplo n.º 4
0
    public SWIGTYPE_p_Json__Value asJson()
    {
        SWIGTYPE_p_Json__Value ret = new SWIGTYPE_p_Json__Value(rysyPINVOKE.ClassificationCompare_asJson(swigCPtr), true);

        return(ret);
    }
Ejemplo n.º 5
0
 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);
 }
Ejemplo n.º 6
0
    public SWIGTYPE_p_Json__Value get()
    {
        SWIGTYPE_p_Json__Value ret = new SWIGTYPE_p_Json__Value(rysyPINVOKE.JsonConfig_get(swigCPtr), true);

        return(ret);
    }