Skip to content

Commit 5d2407b

Browse files
authored
Creation of tensorflow-keras module (tensorflow#88)
1 parent 8db99f3 commit 5d2407b

File tree

4 files changed

+88
-3
lines changed

4 files changed

+88
-3
lines changed

pom.xml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,23 @@
100100
</dependencies>
101101
</dependencyManagement>
102102

103-
<!-- Two profiles are used:
104-
ossrh - deploys to ossrh/maven central
105-
bintray - deploys to bintray/jcenter. -->
106103
<profiles>
104+
<!--
105+
Profile dev
106+
The 'dev' profile is used for local development or PR compilation check only.
107+
Here, we enable the `tensorflow-keras` module only under this profile, until
108+
it is mature enough for being deployed and distributed for the end users.
109+
-->
110+
<profile>
111+
<id>dev</id>
112+
<modules>
113+
<module>tensorflow-keras</module>
114+
</modules>
115+
</profile>
116+
<!--
117+
Profile ossrh
118+
Deploys to ossrh/maven central
119+
-->
107120
<profile>
108121
<id>ossrh</id>
109122
<distributionManagement>
@@ -118,6 +131,10 @@
118131
</repository>
119132
</distributionManagement>
120133
</profile>
134+
<!--
135+
Profile bintray
136+
Deploys to bintray/jcenter
137+
-->
121138
<profile>
122139
<id>bintray</id>
123140
<distributionManagement>

tensorflow-keras/pom.xml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<!--
2+
Copyright 2020 The TensorFlow Authors. All Rights Reserved.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
=======================================================================
16+
-->
17+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
18+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
19+
20+
<modelVersion>4.0.0</modelVersion>
21+
22+
<parent>
23+
<groupId>org.tensorflow</groupId>
24+
<artifactId>tensorflow-java</artifactId>
25+
<version>0.2.0-SNAPSHOT</version>
26+
</parent>
27+
<artifactId>tensorflow-keras</artifactId>
28+
<packaging>jar</packaging>
29+
30+
<name>TensorFlow Keras Library</name>
31+
<description>Java implementation of the TensorFlow Keras API</description>
32+
33+
<dependencies>
34+
<dependency>
35+
<groupId>org.junit.jupiter</groupId>
36+
<artifactId>junit-jupiter-api</artifactId>
37+
<scope>test</scope>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.junit.jupiter</groupId>
41+
<artifactId>junit-jupiter-engine</artifactId>
42+
<scope>test</scope>
43+
</dependency>
44+
</dependencies>
45+
46+
<build>
47+
<plugins>
48+
<plugin>
49+
<groupId>org.apache.maven.plugins</groupId>
50+
<artifactId>maven-surefire-plugin</artifactId>
51+
<version>2.22.2</version>
52+
<configuration>
53+
<forkCount>1</forkCount>
54+
<reuseForks>false</reuseForks>
55+
<argLine>-Xmx2G -XX:MaxPermSize=256m</argLine>
56+
<skipTests>false</skipTests>
57+
<includes>
58+
<include>**/*Test.java</include>
59+
</includes>
60+
</configuration>
61+
</plugin>
62+
</plugins>
63+
</build>
64+
65+
</project>
66+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package org.tensorflow.keras;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package org.tensorflow.keras;

0 commit comments

Comments
 (0)