- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for changeSign (0.09 sec)
-
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
if (lhs && lhs.isSplat()) { APFloat lhs_value = lhs.getSplatValue<APFloat>(); lhs_value.changeSign(); if (lhs_value.isLargest()) return getRhs(); } if (rhs && rhs.isSplat()) { APFloat rhs_value = rhs.getSplatValue<APFloat>(); rhs_value.changeSign(); if (rhs_value.isLargest()) return getLhs(); } return nullptr; }
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/lite/transforms/optimize.cc
// transformation: // w * (x + c) + b => w * x + (w * c + b) // so we have to update the bias. if (llvm::isa<SubOp>(binary_op)) cst_value.changeSign(); auto bias_and_slice = GetBiasDimAndSliceSize(filter_type.getShape(), fc_op); int64_t bias_size = bias_and_slice.first; int64_t slice_size = bias_and_slice.second;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0)