Documentation ¶
Index ¶
- Variables
- func DeleteDoRequest(arg1 DoRequest)
- func DeleteDoResponse(arg1 DoResponse)
- func DeleteLocalInitRequest(arg1 LocalInitRequest)
- func DeleteLocalInitResponse(arg1 LocalInitResponse)
- func DeleteWrapped_PyImage(arg1 Wrapped_PyImage)
- func GlobalInit(model_dir string, gpu_id int) (err error)
- func GlobalRelease() (err error)
- func Swig_free(arg1 uintptr)
- func Swig_malloc(arg1 int) (_swig_ret uintptr)
- func Wrapped_PyImageGlobalInit(arg1 string, arg2 int)
- func Wrapped_PyImageGlobalRelease()
- type DoRequest
- type DoResponse
- type LocalInitRequest
- type LocalInitResponse
- type PyImage
- type SwigcptrDoRequest
- func (arg1 SwigcptrDoRequest) GetArg1() (_swig_ret string)
- func (arg1 SwigcptrDoRequest) GetArg2() (_swig_ret string)
- func (arg1 SwigcptrDoRequest) SetArg1(arg2 string)
- func (arg1 SwigcptrDoRequest) SetArg2(arg2 string)
- func (p SwigcptrDoRequest) SwigIsDoRequest()
- func (p SwigcptrDoRequest) Swigcptr() uintptr
- type SwigcptrDoResponse
- type SwigcptrLocalInitRequest
- func (arg1 SwigcptrLocalInitRequest) GetGpu_id() (_swig_ret int)
- func (arg1 SwigcptrLocalInitRequest) GetModel_dir() (_swig_ret string)
- func (arg1 SwigcptrLocalInitRequest) GetSdk_dir() (_swig_ret string)
- func (arg1 SwigcptrLocalInitRequest) SetGpu_id(arg2 int)
- func (arg1 SwigcptrLocalInitRequest) SetModel_dir(arg2 string)
- func (arg1 SwigcptrLocalInitRequest) SetSdk_dir(arg2 string)
- func (p SwigcptrLocalInitRequest) SwigIsLocalInitRequest()
- func (p SwigcptrLocalInitRequest) Swigcptr() uintptr
- type SwigcptrLocalInitResponse
- type SwigcptrWrapped_PyImage
- func (arg SwigcptrWrapped_PyImage) Do(req DoRequest) (resp DoResponse, err error)
- func (arg SwigcptrWrapped_PyImage) LocalInit(req LocalInitRequest) (resp LocalInitResponse, err error)
- func (p SwigcptrWrapped_PyImage) SwigIsWrapped_PyImage()
- func (p SwigcptrWrapped_PyImage) Swigcptr() uintptr
- func (arg1 SwigcptrWrapped_PyImage) Wrapped_PyImage_Do(arg2 DoRequest, arg3 DoResponse)
- func (arg1 SwigcptrWrapped_PyImage) Wrapped_PyImage_LocalInit(arg2 LocalInitRequest, arg3 LocalInitResponse)
- type Wrapped_PyImage
Constants ¶
This section is empty.
Variables ¶
View Source
var Swig_escape_always_false bool
View Source
var Swig_escape_val interface{}
Functions ¶
func DeleteDoRequest ¶
func DeleteDoRequest(arg1 DoRequest)
func DeleteDoResponse ¶
func DeleteDoResponse(arg1 DoResponse)
func DeleteLocalInitRequest ¶
func DeleteLocalInitRequest(arg1 LocalInitRequest)
func DeleteLocalInitResponse ¶
func DeleteLocalInitResponse(arg1 LocalInitResponse)
func DeleteWrapped_PyImage ¶
func DeleteWrapped_PyImage(arg1 Wrapped_PyImage)
func GlobalInit ¶
func GlobalRelease ¶
func GlobalRelease() (err error)
func Swig_malloc ¶
func Wrapped_PyImageGlobalRelease ¶
func Wrapped_PyImageGlobalRelease()
Types ¶
type DoRequest ¶
type DoRequest interface { Swigcptr() uintptr SwigIsDoRequest() SetArg1(arg2 string) GetArg1() (_swig_ret string) SetArg2(arg2 string) GetArg2() (_swig_ret string) }
func NewDoRequest ¶
func NewDoRequest() (_swig_ret DoRequest)
type DoResponse ¶
type DoResponse interface { Swigcptr() uintptr SwigIsDoResponse() }
func NewDoResponse ¶
func NewDoResponse() (_swig_ret DoResponse)
type LocalInitRequest ¶
type LocalInitRequest interface { Swigcptr() uintptr SwigIsLocalInitRequest() SetGpu_id(arg2 int) GetGpu_id() (_swig_ret int) SetSdk_dir(arg2 string) GetSdk_dir() (_swig_ret string) SetModel_dir(arg2 string) GetModel_dir() (_swig_ret string) }
func NewLocalInitRequest ¶
func NewLocalInitRequest() (_swig_ret LocalInitRequest)
type LocalInitResponse ¶
type LocalInitResponse interface { Swigcptr() uintptr SwigIsLocalInitResponse() }
func NewLocalInitResponse ¶
func NewLocalInitResponse() (_swig_ret LocalInitResponse)
type PyImage ¶
type PyImage interface { Wrapped_PyImage LocalInit(LocalInitRequest) (LocalInitResponse, error) Do(DoRequest) (DoResponse, error) }
func NewPyImage ¶
func NewPyImage() PyImage
type SwigcptrDoRequest ¶
type SwigcptrDoRequest uintptr
func (SwigcptrDoRequest) GetArg1 ¶
func (arg1 SwigcptrDoRequest) GetArg1() (_swig_ret string)
func (SwigcptrDoRequest) GetArg2 ¶
func (arg1 SwigcptrDoRequest) GetArg2() (_swig_ret string)
func (SwigcptrDoRequest) SetArg1 ¶
func (arg1 SwigcptrDoRequest) SetArg1(arg2 string)
func (SwigcptrDoRequest) SetArg2 ¶
func (arg1 SwigcptrDoRequest) SetArg2(arg2 string)
func (SwigcptrDoRequest) SwigIsDoRequest ¶
func (p SwigcptrDoRequest) SwigIsDoRequest()
func (SwigcptrDoRequest) Swigcptr ¶
func (p SwigcptrDoRequest) Swigcptr() uintptr
type SwigcptrDoResponse ¶
type SwigcptrDoResponse uintptr
func (SwigcptrDoResponse) SwigIsDoResponse ¶
func (p SwigcptrDoResponse) SwigIsDoResponse()
func (SwigcptrDoResponse) Swigcptr ¶
func (p SwigcptrDoResponse) Swigcptr() uintptr
type SwigcptrLocalInitRequest ¶
type SwigcptrLocalInitRequest uintptr
func (SwigcptrLocalInitRequest) GetGpu_id ¶
func (arg1 SwigcptrLocalInitRequest) GetGpu_id() (_swig_ret int)
func (SwigcptrLocalInitRequest) GetModel_dir ¶
func (arg1 SwigcptrLocalInitRequest) GetModel_dir() (_swig_ret string)
func (SwigcptrLocalInitRequest) GetSdk_dir ¶
func (arg1 SwigcptrLocalInitRequest) GetSdk_dir() (_swig_ret string)
func (SwigcptrLocalInitRequest) SetGpu_id ¶
func (arg1 SwigcptrLocalInitRequest) SetGpu_id(arg2 int)
func (SwigcptrLocalInitRequest) SetModel_dir ¶
func (arg1 SwigcptrLocalInitRequest) SetModel_dir(arg2 string)
func (SwigcptrLocalInitRequest) SetSdk_dir ¶
func (arg1 SwigcptrLocalInitRequest) SetSdk_dir(arg2 string)
func (SwigcptrLocalInitRequest) SwigIsLocalInitRequest ¶
func (p SwigcptrLocalInitRequest) SwigIsLocalInitRequest()
func (SwigcptrLocalInitRequest) Swigcptr ¶
func (p SwigcptrLocalInitRequest) Swigcptr() uintptr
type SwigcptrLocalInitResponse ¶
type SwigcptrLocalInitResponse uintptr
func (SwigcptrLocalInitResponse) SwigIsLocalInitResponse ¶
func (p SwigcptrLocalInitResponse) SwigIsLocalInitResponse()
func (SwigcptrLocalInitResponse) Swigcptr ¶
func (p SwigcptrLocalInitResponse) Swigcptr() uintptr
type SwigcptrWrapped_PyImage ¶
type SwigcptrWrapped_PyImage uintptr
func (SwigcptrWrapped_PyImage) Do ¶
func (arg SwigcptrWrapped_PyImage) Do(req DoRequest) (resp DoResponse, err error)
func (SwigcptrWrapped_PyImage) LocalInit ¶
func (arg SwigcptrWrapped_PyImage) LocalInit(req LocalInitRequest) (resp LocalInitResponse, err error)
func (SwigcptrWrapped_PyImage) SwigIsWrapped_PyImage ¶
func (p SwigcptrWrapped_PyImage) SwigIsWrapped_PyImage()
func (SwigcptrWrapped_PyImage) Swigcptr ¶
func (p SwigcptrWrapped_PyImage) Swigcptr() uintptr
func (SwigcptrWrapped_PyImage) Wrapped_PyImage_Do ¶
func (arg1 SwigcptrWrapped_PyImage) Wrapped_PyImage_Do(arg2 DoRequest, arg3 DoResponse)
func (SwigcptrWrapped_PyImage) Wrapped_PyImage_LocalInit ¶
func (arg1 SwigcptrWrapped_PyImage) Wrapped_PyImage_LocalInit(arg2 LocalInitRequest, arg3 LocalInitResponse)
type Wrapped_PyImage ¶
type Wrapped_PyImage interface { Swigcptr() uintptr SwigIsWrapped_PyImage() Wrapped_PyImage_LocalInit(arg2 LocalInitRequest, arg3 LocalInitResponse) Wrapped_PyImage_Do(arg2 DoRequest, arg3 DoResponse) }
func NewWrapped_PyImage ¶
func NewWrapped_PyImage() (_swig_ret Wrapped_PyImage)
Click to show internal directories.
Click to hide internal directories.