We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab38180 commit fbb7ca4Copy full SHA for fbb7ca4
tensorflow-core-kotlin/tensorflow-core-kotlin-api/src/main/kotlin/org/tensorflow/OperandHelpers.kt
@@ -19,6 +19,12 @@ package org.tensorflow
19
import org.tensorflow.ndarray.Shape
20
import org.tensorflow.ndarray.Shaped
21
22
+/**
23
+ * The (possibly partially known) shape of the tensor referred to by the {@link Output} of this operand.
24
+ * @see Operand.shape
25
+ */
26
+public val Operand<*>.shape: Shape get() = this.shape()
27
+
28
/**
29
* Require the [Shaped] object have a certain shape.
30
*
0 commit comments