|
|
|
@ -60,7 +60,7 @@ class OverflowOpMaker : public framework::OpProtoAndCheckerMaker {
|
|
|
|
|
"(Tensor) 1-dim tensor, contains a bool scalar. The output "
|
|
|
|
|
"tensor of overflow operator.");
|
|
|
|
|
AddComment(string::Sprintf(R"DOC(
|
|
|
|
|
Overflow operator.
|
|
|
|
|
Overflow %s operator.
|
|
|
|
|
|
|
|
|
|
$$Out = any(X)$$
|
|
|
|
|
|
|
|
|
@ -69,6 +69,8 @@ Out = Inf if any X contains Inf,
|
|
|
|
|
Out = Nan if any X contains Nan,
|
|
|
|
|
Out = 0 if no Inf/Nan detected.
|
|
|
|
|
If X contains both Inf/Nan, it will return the first indicator it meeted.
|
|
|
|
|
|
|
|
|
|
%s
|
|
|
|
|
)DOC",
|
|
|
|
|
GetName(), GetComments()));
|
|
|
|
|
}
|
|
|
|
|