Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
e4cf2516
P
Paddle-Lite
项目概览
PaddlePaddle
/
Paddle-Lite
通知
332
Star
4
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
271
列表
看板
标记
里程碑
合并请求
78
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle-Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
271
Issue
271
列表
看板
标记
里程碑
合并请求
78
合并请求
78
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
e4cf2516
编写于
6月 25, 2018
作者:
L
liuruilong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
adjuct project structure
上级
ca137372
变更
23
展开全部
隐藏空白更改
内联
并排
Showing
23 changed file
with
330 addition
and
320 deletion
+330
-320
.gitignore
.gitignore
+2
-4
example/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.xcworkspace/xcuserdata/liuruilong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liuruilong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
metal/Podfile
metal/Podfile
+14
-0
metal/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.pbxproj
...-mobile-demo/paddle-mobile-demo.xcodeproj/project.pbxproj
+122
-113
metal/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
...mo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+0
-0
metal/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
...project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+0
-0
metal/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.xcworkspace/xcuserdata/liuruilong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liuruilong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
metal/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/xcuserdata/liuruilong.xcuserdatad/xcschemes/xcschememanagement.plist
...liuruilong.xcuserdatad/xcschemes/xcschememanagement.plist
+1
-1
metal/paddle-mobile-demo/paddle-mobile-demo/AppDelegate.swift
...l/paddle-mobile-demo/paddle-mobile-demo/AppDelegate.swift
+1
-1
metal/paddle-mobile-demo/paddle-mobile-demo/Assets.xcassets/AppIcon.appiconset/Contents.json
...ile-demo/Assets.xcassets/AppIcon.appiconset/Contents.json
+0
-0
metal/paddle-mobile-demo/paddle-mobile-demo/Assets.xcassets/Contents.json
...ile-demo/paddle-mobile-demo/Assets.xcassets/Contents.json
+0
-0
metal/paddle-mobile-demo/paddle-mobile-demo/Base.lproj/LaunchScreen.storyboard
...emo/paddle-mobile-demo/Base.lproj/LaunchScreen.storyboard
+0
-0
metal/paddle-mobile-demo/paddle-mobile-demo/Base.lproj/Main.storyboard
...mobile-demo/paddle-mobile-demo/Base.lproj/Main.storyboard
+0
-0
metal/paddle-mobile-demo/paddle-mobile-demo/Info.plist
metal/paddle-mobile-demo/paddle-mobile-demo/Info.plist
+0
-0
metal/paddle-mobile-demo/paddle-mobile-demo/ViewController.swift
...addle-mobile-demo/paddle-mobile-demo/ViewController.swift
+27
-0
metal/paddle-mobile-demo/paddle-mobile-demo/test.pb.swift
metal/paddle-mobile-demo/paddle-mobile-demo/test.pb.swift
+0
-0
metal/paddle-mobile/paddle-mobile.xcodeproj/project.pbxproj
metal/paddle-mobile/paddle-mobile.xcodeproj/project.pbxproj
+156
-162
metal/paddle-mobile/paddle-mobile.xcodeproj/project.xcworkspace/xcuserdata/liuruilong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liuruilong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
metal/paddle-mobile/paddle-mobile.xcworkspace/contents.xcworkspacedata
...mobile/paddle-mobile.xcworkspace/contents.xcworkspacedata
+0
-13
metal/paddle-mobile/paddle-mobile.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
...-mobile.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+0
-8
metal/paddle-mobile/paddle-mobile.xcworkspace/xcuserdata/liuruilong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liuruilong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
metal/paddle-mobile/paddle-mobile.xcworkspace/xcuserdata/liuruilong.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
...uruilong.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
+0
-5
metal/paddle-mobile/paddle-mobile/paddle_mobile.h
metal/paddle-mobile/paddle-mobile/paddle_mobile.h
+7
-13
未找到文件。
.gitignore
浏览文件 @
e4cf2516
...
...
@@ -76,11 +76,9 @@ Podfile.lock
SwiftProtobuf.framework
metal/paddle-mobile/Pods/
example/paddle-mobile-demo/paddle-mobile-demo/yolo/
metal/Pods/
paddle-mobile.xcworkspace
...
...
example/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.xcworkspace/xcuserdata/liuruilong.xcuserdatad/UserInterfaceState.xcuserstate
已删除
100644 → 0
浏览文件 @
ca137372
文件已删除
metal/
paddle-mobile/
Podfile
→
metal/Podfile
浏览文件 @
e4cf2516
platform
:ios
,
‘
9.0
’
use_frameworks!
workspace
'paddle-mobile.xcworkspace'
target
'paddle-mobile-demo'
do
project
'paddle-mobile-demo/paddle-mobile-demo.xcodeproj'
pod
'SwiftProtobuf'
,
'~> 1.0'
end
target
'paddle-mobile'
do
pod
'SwiftProtobuf'
,
'~> 1.0'
project
'paddle-mobile/paddle-mobile.xcodeproj'
pod
'SwiftProtobuf'
,
'~> 1.0'
end
example
/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.pbxproj
→
metal
/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.pbxproj
浏览文件 @
e4cf2516
此差异已折叠。
点击以展开。
example
/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
→
metal
/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
浏览文件 @
e4cf2516
文件已移动
example
/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
→
metal
/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
浏览文件 @
e4cf2516
文件已移动
metal/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.xcworkspace/xcuserdata/liuruilong.xcuserdatad/UserInterfaceState.xcuserstate
0 → 100644
浏览文件 @
e4cf2516
文件已添加
example
/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/xcuserdata/liuruilong.xcuserdatad/xcschemes/xcschememanagement.plist
→
metal
/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/xcuserdata/liuruilong.xcuserdatad/xcschemes/xcschememanagement.plist
浏览文件 @
e4cf2516
...
...
@@ -7,7 +7,7 @@
<key>
paddle-mobile-demo.xcscheme
</key>
<dict>
<key>
orderHint
</key>
<integer>
2
</integer>
<integer>
4
</integer>
</dict>
</dict>
</dict>
...
...
example
/paddle-mobile-demo/paddle-mobile-demo/AppDelegate.swift
→
metal
/paddle-mobile-demo/paddle-mobile-demo/AppDelegate.swift
浏览文件 @
e4cf2516
...
...
@@ -2,7 +2,7 @@
// AppDelegate.swift
// paddle-mobile-demo
//
// Created by liuRuiLong on 2018/6/2
0
.
// Created by liuRuiLong on 2018/6/2
5
.
// Copyright © 2018年 orange. All rights reserved.
//
...
...
example
/paddle-mobile-demo/paddle-mobile-demo/Assets.xcassets/AppIcon.appiconset/Contents.json
→
metal
/paddle-mobile-demo/paddle-mobile-demo/Assets.xcassets/AppIcon.appiconset/Contents.json
浏览文件 @
e4cf2516
文件已移动
example
/paddle-mobile-demo/paddle-mobile-demo/Assets.xcassets/Contents.json
→
metal
/paddle-mobile-demo/paddle-mobile-demo/Assets.xcassets/Contents.json
浏览文件 @
e4cf2516
文件已移动
example
/paddle-mobile-demo/paddle-mobile-demo/Base.lproj/LaunchScreen.storyboard
→
metal
/paddle-mobile-demo/paddle-mobile-demo/Base.lproj/LaunchScreen.storyboard
浏览文件 @
e4cf2516
文件已移动
example
/paddle-mobile-demo/paddle-mobile-demo/Base.lproj/Main.storyboard
→
metal
/paddle-mobile-demo/paddle-mobile-demo/Base.lproj/Main.storyboard
浏览文件 @
e4cf2516
文件已移动
example
/paddle-mobile-demo/paddle-mobile-demo/Info.plist
→
metal
/paddle-mobile-demo/paddle-mobile-demo/Info.plist
浏览文件 @
e4cf2516
文件已移动
example
/paddle-mobile-demo/paddle-mobile-demo/ViewController.swift
→
metal
/paddle-mobile-demo/paddle-mobile-demo/ViewController.swift
浏览文件 @
e4cf2516
...
...
@@ -2,10 +2,11 @@
// ViewController.swift
// paddle-mobile-demo
//
// Created by liuRuiLong on 2018/6/2
0
.
// Created by liuRuiLong on 2018/6/2
5
.
// Copyright © 2018年 orange. All rights reserved.
//
import
UIKit
import
paddle_mobile
...
...
@@ -13,15 +14,7 @@ class ViewController: UIViewController {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
var
date
=
Date
.
init
()
if
let
modelPath
=
Bundle
.
main
.
path
(
forResource
:
"model"
,
ofType
:
nil
),
let
paraPath
=
Bundle
.
main
.
path
(
forResource
:
"params"
,
ofType
:
nil
)
{
print
(
" bundlepath: "
+
modelPath
)
let
loader
=
Loader
<
Float32
>.
init
()
try!
loader
.
load
(
modelPath
:
modelPath
,
paraPath
:
paraPath
)
}
let
els
=
Date
.
init
()
.
timeIntervalSince
(
date
)
print
(
els
)
}
override
func
didReceiveMemoryWarning
()
{
...
...
example
/paddle-mobile-demo/paddle-mobile-demo/test.pb.swift
→
metal
/paddle-mobile-demo/paddle-mobile-demo/test.pb.swift
浏览文件 @
e4cf2516
文件已移动
metal/paddle-mobile/paddle-mobile.xcodeproj/project.pbxproj
浏览文件 @
e4cf2516
此差异已折叠。
点击以展开。
metal/paddle-mobile/paddle-mobile.xcodeproj/project.xcworkspace/xcuserdata/liuruilong.xcuserdatad/UserInterfaceState.xcuserstate
浏览文件 @
e4cf2516
无法预览此类型文件
metal/paddle-mobile/paddle-mobile.xcworkspace/contents.xcworkspacedata
已删除
100644 → 0
浏览文件 @
ca137372
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version =
"1.0"
>
<FileRef
location =
"group:../../example/paddle-mobile-demo/paddle-mobile-demo.xcodeproj"
>
</FileRef>
<FileRef
location =
"group:paddle-mobile.xcodeproj"
>
</FileRef>
<FileRef
location =
"group:Pods/Pods.xcodeproj"
>
</FileRef>
</Workspace>
metal/paddle-mobile/paddle-mobile.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
已删除
100644 → 0
浏览文件 @
ca137372
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
IDEDidComputeMac32BitWarning
</key>
<true/>
</dict>
</plist>
metal/paddle-mobile/paddle-mobile.xcworkspace/xcuserdata/liuruilong.xcuserdatad/UserInterfaceState.xcuserstate
已删除
100644 → 0
浏览文件 @
ca137372
文件已删除
metal/paddle-mobile/paddle-mobile.xcworkspace/xcuserdata/liuruilong.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
已删除
100644 → 0
浏览文件 @
ca137372
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type =
"0"
version =
"2.0"
>
</Bucket>
metal/paddle-mobile/paddle-mobile/paddle_mobile.h
浏览文件 @
e4cf2516
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
//
// paddle_mobile.h
// paddle-mobile
//
// Created by liuRuiLong on 2018/6/25.
// Copyright © 2018年 orange. All rights reserved.
//
#import <UIKit/UIKit.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录