- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CloneOpWithReplacedOperands (0.17 sec)
-
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.cc
Type CloneTypeWithNewElementType(Type old_type, Type element_type) { if (!mlir::isa<ShapedType>(old_type)) return {}; return mlir::cast<ShapedType>(old_type).clone(element_type); } SmallVector<Value> CloneOpWithReplacedOperands( OpBuilder& builder, Operation* op, const ArrayRef<Value> new_operands) { IRMapping mapping; for (const auto& arg : enumerate(new_operands)) { mapping.map(op->getOperand(arg.index()), arg.value()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0)