- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DEBUG_WITH_TYPE (0.1 sec)
-
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.cc
mapping.map(op->getOperand(arg.index()), arg.value()); } return builder.clone(*op, mapping)->getResults(); } FailureOr<int32_t> CastI64ToI32(const int64_t value) { if (!llvm::isInt<32>(value)) { DEBUG_WITH_TYPE( "mlir-quant-attrs-and-constraints", llvm::dbgs() << "Tried to cast " << value << "from int64 to int32, but lies out of range of int32.\n"); return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h
// the cast attempt as `name`. template <typename T> FailureOr<T> TryCast(Operation* op, const StringRef name) { auto cast_op = dyn_cast_or_null<T>(op); if (cast_op) { return cast_op; } else { DEBUG_WITH_TYPE("mlir-quant-attrs-and-constraints", llvm::dbgs() << "Failed to match " << name << " (" << T::getOperationName() << ").\n"); return failure(); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0)