CheckNumerics
tensorflow::ops::CheckNumerics
Checks a tensor for NaN and Inf values.
Summary
When run, reports an InvalidArgument
error if tensor
has any values that are not a number (NaN) or infinity (Inf). Otherwise, passestensor
as-is.
Arguments:
- scope: A Scope object
- message: Prefix of the error message.
Returns:
Output
: The output tensor.
CheckNumerics block
Source link :https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_array_ops.cpp
Argument:
- Scope
scope
: A Scope object (A scope is generated automatically each page. A scope is not connected.) - Input
tensor
: A tensor. - StringPiece message: Prefix of the error message.
Return:
- Output output : Output object of CheckNumerics class object.
Result:
- std::vector(Tensor) result_output : The output tensor.
Using Method
※ NaN과 Inf를 검출 하는데 쓰이는 기능이다.