- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for llvm_unreachable (1.06 sec)
-
tensorflow/compiler/mlir/lite/quantization/quantization_context.cc
if (failed(PropagateQuantParams(op, params, new_items, changed))) { return failure(); } break; } default: { // TODO(fengliuai): implement the other types. llvm_unreachable("no implementation."); return failure(); } } return success(); } LogicalResult QuantizeContext::Finalize() { MLIRContext *context = func_.getContext();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 13.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.cc
if (type == tflite::TensorType_INT64) { return tflite::TensorType_INT64; } else if (type == tflite::TensorType_INT32) { return tflite::TensorType_INT32; } llvm_unreachable("invalid type in conversion."); } static tflite::Padding ConvertTFL_PaddingAttrForOptionWriter( llvm::StringRef str, flatbuffers::FlatBufferBuilder* builder) { return llvm::StringSwitch<tflite::Padding>(str)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 38K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc
case ValueConstraint::kRank: return "rank"; case ValueConstraint::kShape: return "shape"; case ValueConstraint::kValue: return "value"; default: llvm_unreachable("unknown value constraint"); } }; os << str(constraint); return os; } // -------------------------------------------------------------------------- // // ValuesConstraintSet.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 27.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc
type.getShape(), qtype.getStorageType()); return DenseElementsAttr::get( new_type, builder.getIntegerAttr(qtype.getStorageType(), unique_index)); } llvm_unreachable("unhandled element type"); } StatusOr<mlir::ElementsAttr> ConvertIntBuffer( mlir::RankedTensorType shaped_type, const std::vector<uint8_t>& buffer, bool truncate) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
IsFunctionCallWithCommunication(op, funcs_to_rewrite)) if (failed(GetControlFlowAncestors(op, control_flow_ops, control_flow_blocks))) llvm_unreachable( "checking original function for control flow ancestors should have " "errored first"); }); } void LegalizeTFCommunication::runOnOperation() { auto module = getOperation();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc
attrs = tensor_ty.getAttrKeys(); os << "tensor"; } else if (auto tensor_list_ty = type.dyn_cast<TFRTensorListType>()) { attrs = tensor_list_ty.getAttrKeys(); os << "tensor_list"; } else { llvm_unreachable("Unhandled tfr type"); } if (attrs.empty()) return; os << "<"; if (attrs.size() > 1) { os << "["; } llvm::interleaveComma(attrs, os,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 21 16:55:41 UTC 2023 - 38.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
return quant::UniformQuantizedPerAxisType::get( q_type.getFlags(), q_type.getStorageType(), q_type.getExpressedType(), scales, zero_points, q_type.getQuantizedDimension(), qmin, qmax); } else { llvm_unreachable("Unsupported QuantizedType in ResetMinMaxFromNumBits"); } return type; } // Changes the axis of the input per-channel quantized type to match the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0)