aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Shanqing Cai <cais@google.com>2017-06-11 12:59:45 -0400
committerGravatar GitHub <noreply@github.com>2017-06-11 12:59:45 -0400
commit4aa26ce5050e43025c306649e9b26565cfa1c39b (patch)
tree982d35d72b0d5c39994392ff007fbf213283e9f8
parent504965336d1432ee96b4f0e9b78f65ee201e9be5 (diff)
parentb8138a3b3ed8d576c411fada7a2a0d37c153f4b5 (diff)
Merge pull request #10630 from Moriadry/master
fix javadoc issues
-rw-r--r--tensorflow/java/src/main/java/org/tensorflow/Operation.java2
-rw-r--r--tensorflow/java/src/main/java/org/tensorflow/Session.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/java/src/main/java/org/tensorflow/Operation.java b/tensorflow/java/src/main/java/org/tensorflow/Operation.java
index 43dbaf125c..5b89ce5e48 100644
--- a/tensorflow/java/src/main/java/org/tensorflow/Operation.java
+++ b/tensorflow/java/src/main/java/org/tensorflow/Operation.java
@@ -79,7 +79,7 @@ public final class Operation {
*
* @param name identifier of the list of tensors (of which there may
* be many) produced by this operation.
- * @returns the size of the list of Tensors produced by this named output.
+ * @return the size of the list of Tensors produced by this named output.
* @throws IllegalArgumentException if this operation has no output
* with the provided name.
*/
diff --git a/tensorflow/java/src/main/java/org/tensorflow/Session.java b/tensorflow/java/src/main/java/org/tensorflow/Session.java
index 0d071e1674..f73cded4e3 100644
--- a/tensorflow/java/src/main/java/org/tensorflow/Session.java
+++ b/tensorflow/java/src/main/java/org/tensorflow/Session.java
@@ -125,7 +125,7 @@ public final class Session implements AutoCloseable {
* <tt>operation_name:output_index</tt> , in which case this method acts like {@code
* feed(operation_name, output_index)}. These colon-separated names are commonly used in the
* {@code SignatureDef} protocol buffer messages that are included in {@link
- * SavedModelBundle.metaGraphDef()}.
+ * SavedModelBundle#metaGraphDef()}.
*/
public Runner feed(String operation, Tensor t) {
return feed(parseOutput(operation), t);
@@ -165,7 +165,7 @@ public final class Session implements AutoCloseable {
* <tt>operation_name:output_index</tt> , in which case this method acts like {@code
* fetch(operation_name, output_index)}. These colon-separated names are commonly used in
* the {@code SignatureDef} protocol buffer messages that are included in {@link
- * SavedModelBundle.metaGraphDef()}.
+ * SavedModelBundle#metaGraphDef()}.
*/
public Runner fetch(String operation) {
return fetch(parseOutput(operation));