- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getFusedLoc (2.09 sec)
-
tensorflow/compiler/mlir/lite/quantization/ir/ConvertConst.cc
return failure(); } // When creating the new const op, use a fused location that combines the // original const and the qbarrier that led to the quantization. auto fusedLoc = rewriter.getFusedLoc( {qbarrier.getArg().getDefiningOp()->getLoc(), qbarrier.getLoc()}); auto newConstOp = rewriter.create<arith::ConstantOp>( fusedLoc, newConstValueType, cast<TypedAttr>(newConstValue));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc
SmallVector<float> transposed_values = transposer.TransposeValues(original_values); // Create a new constant op with the transposed values. const Location combined_loc = rewriter.getFusedLoc({const_op.getLoc(), op.getLoc()}); auto new_value_type = RankedTensorType::getChecked(combined_loc, transposer.GetTargetShape(), /*elementType=*/rewriter.getF32Type());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
result_type = activation->getResultTypes().front(); } else { result_type = bias_add.getResult().getType(); } auto fused_loc = rewriter.getFusedLoc(locations); // The fused contraction has the same operands as the original contraction // with `bias` from the BiasAddOp appended. SmallVector<Value, 4> operands(contraction.operand_begin(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
}); } is_training = fused_batch_norm_op->getAttrOfType<::mlir::BoolAttr>("is_training"); auto odsLoc = rewriter.getFusedLoc({fused_batch_norm->getLoc()}); // We need to make sure input and output shapes are compatible. int64_t last_dim = ShapedType::kDynamic; {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0)