diff --git a/develop/doc/operators.json b/develop/doc/operators.json index ba0b568f783aa8a94190cc7e65c5c51ffe852057..6958d3d152aa6d8841b33e7a7fd46206a6a87f96 100644 --- a/develop/doc/operators.json +++ b/develop/doc/operators.json @@ -2038,7 +2038,7 @@ } ] },{ "type" : "reduce_min", - "comment" : "\n{ReduceOp} Operator.\n\nThis operator computes the min of input tensor along the given dimension. \nThe result tensor has 1 fewer dimension than the input unless keep_dim is true.\n\n", + "comment" : "\n{ReduceOp} Operator.\n\nThis operator computes the min of input tensor along the given dimension. \nThe result tensor has 1 fewer dimension than the input unless keep_dim is true.\nIf reduce_all is true, just reduce along all dimensions and output a scalar.\n\n", "inputs" : [ { "name" : "X", @@ -2064,6 +2064,11 @@ "type" : "bool", "comment" : "(bool, default false) If true, retain the reduced dimension with length 1.", "generated" : 0 + }, { + "name" : "reduce_all", + "type" : "bool", + "comment" : "(bool, default false) If true, output a scalar reduced along all dimensions.", + "generated" : 0 } ] },{ "type" : "smooth_l1_loss", @@ -2284,7 +2289,7 @@ "attrs" : [ ] },{ "type" : "reduce_max", - "comment" : "\n{ReduceOp} Operator.\n\nThis operator computes the max of input tensor along the given dimension. \nThe result tensor has 1 fewer dimension than the input unless keep_dim is true.\n\n", + "comment" : "\n{ReduceOp} Operator.\n\nThis operator computes the max of input tensor along the given dimension. \nThe result tensor has 1 fewer dimension than the input unless keep_dim is true.\nIf reduce_all is true, just reduce along all dimensions and output a scalar.\n\n", "inputs" : [ { "name" : "X", @@ -2310,6 +2315,11 @@ "type" : "bool", "comment" : "(bool, default false) If true, retain the reduced dimension with length 1.", "generated" : 0 + }, { + "name" : "reduce_all", + "type" : "bool", + "comment" : "(bool, default false) If true, output a scalar reduced along all dimensions.", + "generated" : 0 } ] },{ "type" : "rank_loss", @@ -2609,7 +2619,7 @@ } ] },{ "type" : "reduce_sum", - "comment" : "\n{ReduceOp} Operator.\n\nThis operator computes the sum of input tensor along the given dimension. \nThe result tensor has 1 fewer dimension than the input unless keep_dim is true.\n\n", + "comment" : "\n{ReduceOp} Operator.\n\nThis operator computes the sum of input tensor along the given dimension. \nThe result tensor has 1 fewer dimension than the input unless keep_dim is true.\nIf reduce_all is true, just reduce along all dimensions and output a scalar.\n\n", "inputs" : [ { "name" : "X", @@ -2635,6 +2645,11 @@ "type" : "bool", "comment" : "(bool, default false) If true, retain the reduced dimension with length 1.", "generated" : 0 + }, { + "name" : "reduce_all", + "type" : "bool", + "comment" : "(bool, default false) If true, output a scalar reduced along all dimensions.", + "generated" : 0 } ] },{ "type" : "stanh", @@ -2772,7 +2787,7 @@ "attrs" : [ ] },{ "type" : "reduce_mean", - "comment" : "\n{ReduceOp} Operator.\n\nThis operator computes the mean of input tensor along the given dimension. \nThe result tensor has 1 fewer dimension than the input unless keep_dim is true.\n\n", + "comment" : "\n{ReduceOp} Operator.\n\nThis operator computes the mean of input tensor along the given dimension. \nThe result tensor has 1 fewer dimension than the input unless keep_dim is true.\nIf reduce_all is true, just reduce along all dimensions and output a scalar.\n\n", "inputs" : [ { "name" : "X", @@ -2798,6 +2813,11 @@ "type" : "bool", "comment" : "(bool, default false) If true, retain the reduced dimension with length 1.", "generated" : 0 + }, { + "name" : "reduce_all", + "type" : "bool", + "comment" : "(bool, default false) If true, output a scalar reduced along all dimensions.", + "generated" : 0 } ] },{ "type" : "pool2d_cudnn",