- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for convertToFloat (0.48 sec)
-
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
Type result_type = getType(); // Only constant fold for tensor of f32 is implemented. if (!IsF32ShapedType(result_type)) return nullptr; auto compute = [](APFloat value) -> APFloat { float f = value.convertToFloat(); float result = std::sin(f); return APFloat(result); }; return ConstFoldUnaryOp(result_type, operands[0], compute); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
const llvm::fltSemantics& semantics = op.getMin().getSemantics(); float rmin, rmax; if (&semantics == &APFloat::IEEEsingle()) { rmin = op.getMin().convertToFloat(); rmax = op.getMax().convertToFloat(); } else { rmin = op.getMin().convertToDouble(); rmax = op.getMax().convertToDouble(); } // Range boundaries must be valid. if (rmin >= rmax) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0)