// Save saves Module to given path
Save saves Module to given path
// Save saves Module to given path
func (m *JITModule) Save(path string) error {
	cstr := C.CString(path)
	defer C.free(unsafe.Pointer(cstr))
	var cErr C.Torch_Error
	C.Torch_ExportJITModule(m.context, cstr, &cErr)
	if err := checkError(cErr); err != nil {
		return err
	}
	return nil
}
func ( m * JITModule ) Save ( path string ) error { cstr := C . CString ( path ) defer C . free ( unsafe . Pointer ( cstr ) ) var cErr C . Torch_Error C . Torch_ExportJITModule ( m . context , cstr , & cErr ) if err := checkError ( cErr ) ; err != nil { return err } return nil }
Save saves Module to given path
Save saves Module to given path
// TODO handle errors