Skip to content

Commit b0b0927

Browse files
committed
Merge in device spec changes
Signed-off-by: Ryan Nett <rnett@calpoly.edu>
1 parent 8371529 commit b0b0927

File tree

8 files changed

+2001
-472
lines changed

8 files changed

+2001
-472
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<modules>
3232
<module>ndarray</module>
3333
<module>tensorflow-core</module>
34+
<module>tensorflow-core-kotlin</module>
3435
<module>tensorflow-framework</module>
3536
</modules>
3637

tensorflow-core-kotlin/pom.xml

Lines changed: 955 additions & 0 deletions
Large diffs are not rendered by default.

tensorflow-core-kotlin/tensorflow-core-kotlin-api/pom.xml

Lines changed: 417 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
<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"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<groupId>org.tensorflow</groupId>
7+
<artifactId>tensorflow-core-kotlin</artifactId>
8+
<version>0.3.0-SNAPSHOT</version>
9+
</parent>
10+
<artifactId>tensorflow-core-kotlin-generator</artifactId>
11+
<packaging>jar</packaging>
12+
13+
<name>TensorFlow Core Kotlin Annotation Processor</name>
14+
<description>Annotation processor for TensorFlow Kotlin client</description>
15+
16+
<dependencies>
17+
<dependency>
18+
<groupId>org.tensorflow</groupId>
19+
<artifactId>tensorflow-core-generator</artifactId>
20+
<version>${project.version}</version>
21+
</dependency>
22+
<dependency>
23+
<groupId>com.squareup</groupId>
24+
<artifactId>kotlinpoet</artifactId>
25+
<version>1.7.2</version>
26+
</dependency>
27+
</dependencies>
28+
29+
<build>
30+
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
31+
<!-- <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>-->
32+
<plugins>
33+
<plugin>
34+
<groupId>org.jetbrains.kotlin</groupId>
35+
<artifactId>kotlin-maven-plugin</artifactId>
36+
<version>${kotlin.version}</version>
37+
38+
<executions>
39+
<execution>
40+
<id>compile</id>
41+
<goals>
42+
<goal>compile</goal>
43+
</goals>
44+
</execution>
45+
46+
<execution>
47+
<id>test-compile</id>
48+
<goals>
49+
<goal>test-compile</goal>
50+
</goals>
51+
</execution>
52+
</executions>
53+
</plugin>
54+
<plugin>
55+
<groupId>org.apache.maven.plugins</groupId>
56+
<artifactId>maven-compiler-plugin</artifactId>
57+
<version>3.5.1</version>
58+
<configuration>
59+
<proc>none</proc>
60+
<source>1.6</source>
61+
<target>1.6</target>
62+
</configuration>
63+
<executions>
64+
<!-- Replacing default-compile as it is treated specially by maven -->
65+
<execution>
66+
<id>default-compile</id>
67+
<phase>none</phase>
68+
</execution>
69+
<!-- Replacing default-testCompile as it is treated specially by maven -->
70+
<execution>
71+
<id>default-testCompile</id>
72+
<phase>none</phase>
73+
</execution>
74+
<execution>
75+
<id>java-compile</id>
76+
<phase>compile</phase>
77+
<goals>
78+
<goal>compile</goal>
79+
</goals>
80+
</execution>
81+
<execution>
82+
<id>java-test-compile</id>
83+
<phase>test-compile</phase>
84+
<goals>
85+
<goal>testCompile</goal>
86+
</goals>
87+
</execution>
88+
</executions>
89+
</plugin>
90+
</plugins>
91+
</build>
92+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package org.tensorflow.processor.operator
2+
3+
import java.io.File
4+
import javax.annotation.processing.AbstractProcessor
5+
import javax.annotation.processing.ProcessingEnvironment
6+
import javax.annotation.processing.RoundEnvironment
7+
import javax.lang.model.element.TypeElement
8+
import com.squareup.kotlinpoet.TypeSpec
9+
import org.tensorflow.processor.operator.BaseOperatorProcessor
10+
11+
class KotlinOpsProcessor: BaseOperatorProcessor<TypeSpec>() {
12+
override fun write(spec: TypeSpec?) {
13+
TODO("Not yet implemented")
14+
}
15+
16+
override fun buildGroupClass(spec: OpsSpec?): TypeSpec {
17+
TODO("Not yet implemented")
18+
}
19+
20+
override fun buildTopClass(spec: OpsSpec?): TypeSpec {
21+
TODO("Not yet implemented")
22+
}
23+
}

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/DebuggingOps.java

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)