From 5f9d733d76d8bebafacab2f3ae0c2d8fea0bbaf0 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Mon, 15 Jan 2018 05:40:45 +0000 Subject: [PATCH] Deploy to GitHub Pages: 60eba8b7cbd6e5a1eb853b4e261e96ab2220cdc6 --- develop/doc/operators.json | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/develop/doc/operators.json b/develop/doc/operators.json index e7524b5801..910b950a58 100644 --- a/develop/doc/operators.json +++ b/develop/doc/operators.json @@ -29,15 +29,21 @@ "attrs" : [ ] },{ "type" : "print", - "comment" : "\n Creates a print op that will print when a tensor is accessed.\n\n Wraps the tensor passed in so that whenever that a tensor is accessed,\n the message `message` is printed, along with the current value of the\n tensor `t`.", + "comment" : "\nCreates a print op that will print when a tensor is accessed.\n\nWraps the tensor passed in so that whenever that a tensor is accessed,\nthe message `message` is printed, along with the current value of the\ntensor `t`.", "inputs" : [ { - "name" : "input", - "comment" : "the tensor that will be displayed.", + "name" : "In", + "comment" : "Input tensor to be displayed.", + "duplicable" : 0, + "intermediate" : 0 + } ], + "outputs" : [ + { + "name" : "Out", + "comment" : "Output tensor with same data as input tensor.", "duplicable" : 0, "intermediate" : 0 } ], - "outputs" : [ ], "attrs" : [ { "name" : "first_n", @@ -52,7 +58,7 @@ }, { "name" : "summarize", "type" : "int", - "comment" : "Print this number of elements in the tensor.", + "comment" : "Number of elements printed.", "generated" : 0 }, { "name" : "print_tensor_name", @@ -74,6 +80,11 @@ "type" : "bool", "comment" : "Whether to print the tensor's lod.", "generated" : 0 + }, { + "name" : "print_phase", + "type" : "string", + "comment" : "(string, default 'BOTH') Which phase to display including 'FORWARD' 'BACKWARD' and 'BOTH'.", + "generated" : 0 } ] },{ "type" : "adagrad", -- GitLab