- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IRRewriter (0.08 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc
// ==> // result = op(V0) // V1 = unrealized_cast(result) // V2 = op2(V1) void ConvertAndWrapUsesInUnrealizedCast(Value result, TypeConverter &converter, IRRewriter &rewriter) { auto type = result.getType(); result.setType(converter.convertType(result.getType())); auto new_value = converter.materializeArgumentConversion( rewriter, result.getLoc(), type, {result});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 19:48:51 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc
// function. TF::PartitionedCallOp FinalizeFunctionRegister( PatternRewriter& rewriter, Value input, Value output, func::FuncOp& quantization_func, Operation* quantized_op, StringRef func_name, IRRewriter::InsertPoint original_point, Type quantize_result_type) { rewriter.create<func::ReturnOp>(input.getLoc(), ArrayRef<Value>({output})); quantization_func.setVisibility(func::FuncOp::Visibility::Private);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0)