Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for convertToFloat (0.17 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        const llvm::APFloat value = index_and_value.value();
        if (index_and_value.index() % 2 == 0) {
          mins.push_back(value.convertToFloat());
        } else {
          maxs.push_back(value.convertToFloat());
        }
      }
    
      return tflite::CreateQuantizationParameters(
          builder_, builder_.CreateVector<float>(mins),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        Value features = op.getFeatures();
    
        // Use ConstantLike for `alpha` to match the shape of feature.
        auto alphaVal = chlo::getConstantLike(
            rewriter, loc, op.getAlpha().convertToFloat(), features);
        Value zeroVal = chlo::getConstantLike(rewriter, loc, 0.0, features);
    
        Value leakyActivationVal =
            rewriter.create<mhlo::MulOp>(loc, features, alphaVal);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top