Ryan Nett

Results 163 comments of Ryan Nett

@karllessard @Craigacp @zaleslaw (and anyone else w/ comments) This is ready for review. NonNull annotations will come in another PR, although I don't love how much they clutter up the...

After todays call: move to a `tensorflow-kotlin` that includes framework too. Also, make the NdArray classes like Shape Kotlin-friendly (i.e. rename size to get) rather than adding extensions.

Ok, I've split the artifacts into `tensorflow-core-kotlin`, `tensorflow-framework-kotlin`, and `tensorflow-kotlin` which depends on the other two.

NDArray parts have been moved to tensorflow/java-ndarray#1, which should be merged first.

The more I play with `KotlinOps` the less I like that it is not a subclass of `Ops`. I'm not sure if there's a way around it, but I'm going...

I'm not sure it would, since afaik framework ops is adding more ops, while the Kotlin ops need to override the Java ones. But I'll look.

There doesn't look to be a good solution. I'd use extensions, but importing them does not work well (see [KTIJ-18859](https://youtrack.jetbrains.com/issue/KTIJ-18859)). If I get a quick response to that issue it...

So in light of [the context receivers proposal](https://github.com/Kotlin/KEEP/blob/context-receivers/proposals/context-receivers.md), I'm thinking of something like this in `tensorflow-core-api`: ```java public interface WithOps{ public Ops getTf(); public default WithOps withSubScope(String name) ... }...

I added Jupyter integration here in a few separate artifacts. Once this is merged I'll add `use` directives, but for now you can do something like: ```kotlin @file:Repository("https://oss.sonatype.org/content/repositories/snapshots/") @file:DependsOn("org.tensorflow:tensorflow-kotlin-jupyter:0.4.0-SNAPSHOT") tf.ones(tf.array(2,...

Most of the ops are there (https://github.com/tensorflow/java/tree/55547dd20b14e1e9cd592a8789e780a0be3ae507/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/collective), I'm not sure if you can use them manually yet (we have no way to create groups or instances) or whether they can...