Searched refs:fp_props (Results 1 – 2 of 2) sorted by relevance
548 int fp_props =552 if (fp_props) {563 Tout fp_props[3] = {0.0, 0.0, 0.0};564 std::for_each(data, data + size, [&fp_props](const Tin& y) {569 ++fp_props[0];571 ++fp_props[1];574 ++fp_props[2];577 output_tensor->flat<Tout>()(2) = fp_props[0]; // Slot for -inf count578 output_tensor->flat<Tout>()(3) = fp_props[1]; // Slot for inf count579 output_tensor->flat<Tout>()(4) = fp_props[2]; // Slot for nan count[all …]
98 int fp_props = std::accumulate( in Compute() local101 if (fp_props != 0) { in Compute()102 const string& status = getErrorString(fp_props); in Compute()125 virtual const string getErrorString(const int fp_props) { in getErrorString() argument127 if ((fp_props & kInfBit) && (fp_props & kNaNBit)) { in getErrorString()130 if (fp_props & kInfBit) { in getErrorString()133 if (fp_props & kNaNBit) { in getErrorString()170 const string getErrorString(const int fp_props) override { in getErrorString() argument172 if (fp_props & kNegativeInfBit) { in getErrorString()175 if (fp_props & kPositiveInfBit) { in getErrorString()[all …]