Skip to content

Commit f14f99c

Browse files
committed
added tensorflow sample
1 parent 6b375c9 commit f14f99c

File tree

110 files changed

+3517
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+3517
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#Mon Oct 24 19:42:29 MDT 2016
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

tensorflow/android/build.gradle

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion 23
5+
buildToolsVersion "24.0.2"
6+
7+
defaultConfig {
8+
applicationId "org.tensorflow.demo"
9+
minSdkVersion 21
10+
targetSdkVersion 21
11+
}
12+
13+
buildTypes {
14+
release {
15+
minifyEnabled false
16+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* Automatically generated file. DO NOT MODIFY
3+
*/
4+
package org.tensorflow.demo.test;
5+
6+
public final class BuildConfig {
7+
public static final boolean DEBUG = Boolean.parseBoolean("true");
8+
public static final String APPLICATION_ID = "org.tensorflow.demo.test";
9+
public static final String BUILD_TYPE = "debug";
10+
public static final String FLAVOR = "";
11+
public static final int VERSION_CODE = -1;
12+
public static final String VERSION_NAME = "";
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* Automatically generated file. DO NOT MODIFY
3+
*/
4+
package org.tensorflow.demo;
5+
6+
public final class BuildConfig {
7+
public static final boolean DEBUG = Boolean.parseBoolean("true");
8+
public static final String APPLICATION_ID = "org.tensorflow.demo";
9+
public static final String BUILD_TYPE = "debug";
10+
public static final String FLAVOR = "";
11+
public static final int VERSION_CODE = -1;
12+
public static final String VERSION_NAME = "";
13+
}
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
/* AUTO-GENERATED FILE. DO NOT MODIFY.
2+
*
3+
* This class was automatically generated by the
4+
* aapt tool from the resource data it found. It
5+
* should not be modified by hand.
6+
*/
7+
8+
package org.tensorflow.demo;
9+
10+
public final class R {
11+
public static final class attr {
12+
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
13+
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
14+
*/
15+
public static final int metaButtonBarButtonStyle=0x7f010001;
16+
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
17+
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
18+
*/
19+
public static final int metaButtonBarStyle=0x7f010000;
20+
}
21+
public static final class color {
22+
public static final int control_background=0x7f060000;
23+
}
24+
public static final class dimen {
25+
public static final int horizontal_page_margin=0x7f040000;
26+
public static final int margin_huge=0x7f040002;
27+
public static final int margin_large=0x7f040003;
28+
public static final int margin_medium=0x7f040004;
29+
public static final int margin_small=0x7f040005;
30+
public static final int margin_tiny=0x7f040006;
31+
public static final int vertical_page_margin=0x7f040001;
32+
}
33+
public static final class drawable {
34+
public static final int ic_action_info=0x7f020000;
35+
public static final int ic_launcher=0x7f020001;
36+
public static final int tile=0x7f020002;
37+
}
38+
public static final class id {
39+
public static final int container=0x7f080000;
40+
public static final int results=0x7f080002;
41+
public static final int texture=0x7f080001;
42+
}
43+
public static final class layout {
44+
public static final int activity_camera=0x7f030000;
45+
public static final int camera_connection_fragment=0x7f030001;
46+
}
47+
public static final class string {
48+
public static final int app_name=0x7f070000;
49+
public static final int camera_error=0x7f070001;
50+
public static final int description_info=0x7f070002;
51+
public static final int request_permission=0x7f070003;
52+
}
53+
public static final class style {
54+
/** API 11 theme customizations can go here.
55+
API 14 theme customizations can go here.
56+
*/
57+
public static final int AppBaseTheme=0x7f050001;
58+
public static final int AppTheme=0x7f050005;
59+
/** <item name="android:background">@color/black_overlay</item>
60+
*/
61+
public static final int FullscreenActionBarStyle=0x7f050002;
62+
public static final int FullscreenTheme=0x7f050003;
63+
public static final int MaterialTheme=0x7f050006;
64+
public static final int Theme_Base=0x7f050004;
65+
public static final int Theme_Sample=0x7f050007;
66+
public static final int Widget=0x7f050008;
67+
public static final int Widget_SampleMessage=0x7f050000;
68+
public static final int Widget_SampleMessageTile=0x7f050009;
69+
}
70+
public static final class styleable {
71+
/** Attributes that can be used with a ButtonBarContainerTheme.
72+
<p>Includes the following attributes:</p>
73+
<table>
74+
<colgroup align="left" />
75+
<colgroup align="left" />
76+
<tr><th>Attribute</th><th>Description</th></tr>
77+
<tr><td><code>{@link #ButtonBarContainerTheme_metaButtonBarButtonStyle org.tensorflow.demo:metaButtonBarButtonStyle}</code></td><td></td></tr>
78+
<tr><td><code>{@link #ButtonBarContainerTheme_metaButtonBarStyle org.tensorflow.demo:metaButtonBarStyle}</code></td><td></td></tr>
79+
</table>
80+
@see #ButtonBarContainerTheme_metaButtonBarButtonStyle
81+
@see #ButtonBarContainerTheme_metaButtonBarStyle
82+
*/
83+
public static final int[] ButtonBarContainerTheme = {
84+
0x7f010000, 0x7f010001
85+
};
86+
/**
87+
<p>This symbol is the offset where the {@link org.tensorflow.demo.R.attr#metaButtonBarButtonStyle}
88+
attribute's value can be found in the {@link #ButtonBarContainerTheme} array.
89+
90+
91+
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
92+
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
93+
@attr name org.tensorflow.demo:metaButtonBarButtonStyle
94+
*/
95+
public static final int ButtonBarContainerTheme_metaButtonBarButtonStyle = 1;
96+
/**
97+
<p>This symbol is the offset where the {@link org.tensorflow.demo.R.attr#metaButtonBarStyle}
98+
attribute's value can be found in the {@link #ButtonBarContainerTheme} array.
99+
100+
101+
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
102+
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
103+
@attr name org.tensorflow.demo:metaButtonBarStyle
104+
*/
105+
public static final int ButtonBarContainerTheme_metaButtonBarStyle = 0;
106+
};
107+
}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
[
2+
{
3+
"outputFile": "/Users/paultr/Documents/androidtmp/tensorflow/android/build/intermediates/res/merged/debug/values-sw600dp-v13/values-sw600dp-v13.xml",
4+
"map": [
5+
{
6+
"to": {
7+
"startLine": 2,
8+
"startColumn": 4,
9+
"startOffset": 55,
10+
"endColumn": 67,
11+
"endOffset": 118
12+
},
13+
"from": {
14+
"file": "/Users/paultr/Documents/androidtmp/tensorflow/android/src/main/res/values-sw600dp/template-dimens.xml",
15+
"position": {
16+
"startLine": 20,
17+
"startColumn": 4,
18+
"startOffset": 656,
19+
"endColumn": 67,
20+
"endOffset": 719
21+
}
22+
}
23+
},
24+
{
25+
"to": {
26+
"startLine": 3,
27+
"startColumn": 4,
28+
"startOffset": 123,
29+
"endColumn": 67,
30+
"endOffset": 186
31+
},
32+
"from": {
33+
"file": "/Users/paultr/Documents/androidtmp/tensorflow/android/src/main/res/values-sw600dp/template-dimens.xml",
34+
"position": {
35+
"startLine": 21,
36+
"startColumn": 4,
37+
"startOffset": 724,
38+
"endColumn": 67,
39+
"endOffset": 787
40+
}
41+
}
42+
},
43+
{
44+
"to": {
45+
"startLine": 4,
46+
"startColumn": 4,
47+
"startOffset": 191,
48+
"endLine": 8,
49+
"endColumn": 12,
50+
"endOffset": 431
51+
},
52+
"from": {
53+
"file": "/Users/paultr/Documents/androidtmp/tensorflow/android/src/main/res/values-sw600dp/template-styles.xml",
54+
"position": {
55+
"startLine": 18,
56+
"startColumn": 4,
57+
"startOffset": 621,
58+
"endLine": 22,
59+
"endColumn": 12,
60+
"endOffset": 861
61+
}
62+
}
63+
}
64+
]
65+
}
66+
]
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
[
2+
{
3+
"outputFile": "/Users/paultr/Documents/androidtmp/tensorflow/android/build/intermediates/res/merged/debug/values-v11/values-v11.xml",
4+
"map": [
5+
{
6+
"to": {
7+
"startLine": 2,
8+
"startColumn": 4,
9+
"startOffset": 55,
10+
"endLine": 4,
11+
"endColumn": 10,
12+
"endOffset": 181
13+
},
14+
"from": {
15+
"file": "/Users/paultr/Documents/androidtmp/tensorflow/android/src/main/res/values-v11/styles.xml",
16+
"position": {
17+
"startLine": 7,
18+
"startColumn": 2,
19+
"startOffset": 210,
20+
"endLine": 9,
21+
"endColumn": 10,
22+
"endOffset": 336
23+
}
24+
}
25+
},
26+
{
27+
"to": {
28+
"startLine": 5,
29+
"startColumn": 4,
30+
"startOffset": 186,
31+
"endLine": 7,
32+
"endColumn": 10,
33+
"endOffset": 350
34+
},
35+
"from": {
36+
"file": "/Users/paultr/Documents/androidtmp/tensorflow/android/src/main/res/values-v11/styles.xml",
37+
"position": {
38+
"startLine": 19,
39+
"startColumn": 2,
40+
"startOffset": 763,
41+
"endLine": 21,
42+
"endColumn": 10,
43+
"endOffset": 927
44+
}
45+
}
46+
},
47+
{
48+
"to": {
49+
"startLine": 8,
50+
"startColumn": 4,
51+
"startOffset": 355,
52+
"endLine": 14,
53+
"endColumn": 10,
54+
"endOffset": 774
55+
},
56+
"from": {
57+
"file": "/Users/paultr/Documents/androidtmp/tensorflow/android/src/main/res/values-v11/styles.xml",
58+
"position": {
59+
"startLine": 11,
60+
"startColumn": 2,
61+
"startOffset": 340,
62+
"endLine": 17,
63+
"endColumn": 10,
64+
"endOffset": 759
65+
}
66+
}
67+
},
68+
{
69+
"to": {
70+
"startLine": 15,
71+
"startColumn": 4,
72+
"startOffset": 779,
73+
"endColumn": 64,
74+
"endOffset": 839
75+
},
76+
"from": {
77+
"file": "/Users/paultr/Documents/androidtmp/tensorflow/android/src/main/res/values-v11/template-styles.xml",
78+
"position": {
79+
"startLine": 19,
80+
"startColumn": 4,
81+
"startOffset": 650,
82+
"endColumn": 65,
83+
"endOffset": 711
84+
}
85+
}
86+
}
87+
]
88+
}
89+
]
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[
2+
{
3+
"outputFile": "/Users/paultr/Documents/androidtmp/tensorflow/android/build/intermediates/res/merged/debug/values-v14/values-v14.xml",
4+
"map": [
5+
{
6+
"to": {
7+
"startLine": 2,
8+
"startColumn": 4,
9+
"startOffset": 55,
10+
"endLine": 4,
11+
"endColumn": 10,
12+
"endOffset": 195
13+
},
14+
"from": {
15+
"file": "/Users/paultr/Documents/androidtmp/tensorflow/android/src/main/res/values-v14/styles.xml",
16+
"position": {
17+
"startLine": 7,
18+
"startColumn": 2,
19+
"startOffset": 214,
20+
"endLine": 9,
21+
"endColumn": 10,
22+
"endOffset": 354
23+
}
24+
}
25+
}
26+
]
27+
}
28+
]
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[
2+
{
3+
"outputFile": "/Users/paultr/Documents/androidtmp/tensorflow/android/build/intermediates/res/merged/debug/values-v21/values-v21.xml",
4+
"map": [
5+
{
6+
"to": {
7+
"startLine": 2,
8+
"startColumn": 4,
9+
"startOffset": 55,
10+
"endLine": 3,
11+
"endColumn": 12,
12+
"endOffset": 131
13+
},
14+
"from": {
15+
"file": "/Users/paultr/Documents/androidtmp/tensorflow/android/src/main/res/values-v21/base-template-styles.xml",
16+
"position": {
17+
"startLine": 20,
18+
"startColumn": 4,
19+
"startOffset": 677,
20+
"endLine": 21,
21+
"endColumn": 12,
22+
"endOffset": 753
23+
}
24+
}
25+
}
26+
]
27+
}
28+
]

0 commit comments

Comments
 (0)