Skip to content

Commit b4d5956

Browse files
committed
Concrete function helpers, redo codegen
Signed-off-by: Ryan Nett <[email protected]>
1 parent 53d4f56 commit b4d5956

File tree

5 files changed

+192
-67
lines changed

5 files changed

+192
-67
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@
180180
classpathref="maven.plugin.classpath" classname="com.pinterest.ktlint.Main">
181181
<arg value="-F"/>
182182
<arg value="src/**/*.kt"/>
183+
<arg value="!src/gen/**/*.kt"/>
183184
<arg value="--reporter=plain?group_by_file"/>
184185
</java>
185186
</target>
@@ -212,7 +213,6 @@
212213
<artifactId>ktlint</artifactId>
213214
<version>0.39.0</version>
214215
</dependency>
215-
<!-- additional 3rd party ruleset(s) can be specified here -->
216216
</dependencies>
217217
</plugin>
218218
</plugins>

tensorflow-core-kotlin/tensorflow-core-kotlin-api/src/gen/annotations/org/tensorflow/op/kotlin/KotlinOps.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3276,11 +3276,10 @@ public class KotlinOps(
32763276
*
32773277
* Registered initializers are then grouped as a single unit of computation by adding
32783278
* and executing an [ org.tensorflow.op.core.Init#create(Scope) init] operation from a graph
3279-
* session.
3279+
* session. This is a no-op if executed in an eager session.
32803280
*
32813281
* @param scope
32823282
* @param initializer
3283-
* @throws IllegalArgumentException if the execution environment in scope is not a graph
32843283
* @see org.tensorflow.op.core.Init#create(Scope) init
32853284
* @see org.tensorflow.op.Ops.initAdd
32863285
*/

0 commit comments

Comments
 (0)