- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 61 for emitOpError (0.67 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
GetPartitionedOutputsAndIdentityOps(cluster); for (auto [_, ops] : partitioned_outputs) { if (!(ops.empty() || ops.size() == num_replicas)) { return (ops.begin())->emitOpError() << "expected zero or " << num_replicas << " 'TPUPartitionedOutput' op(s), instead got " << partitioned_outputs.size(); } } // No need to replicate.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
base_dilations_vec, window_dilations_vec); if (!window) { op->emitOpError("failed to create window"); } auto output_shape = InferWindowOutputShape( input_ty, window.value(), mlir::cast<ShapedType>(op.getInitValue().getType()).getElementType()); if (!output_shape) { op->emitOpError("failed to infer output shape"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc
mlir::cast<FlatSymbolRefAttr>(sym_ref).getValue()); if (!init_func_op) return session_initializer.emitOpError() << "the initializer function does not exist"; if (!init_func_op.getFunctionType().getResults().empty()) return session_initializer.emitOpError() << "the initializer function should have no output"; auto exported_names = GetExportedNames(init_func_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc
auto ret = func.front().getTerminator(); auto block_arg = mlir::dyn_cast<BlockArgument>(ret->getOperand(result_idx)); if (!block_arg) { return op->emitOpError("result #") << result_idx << " not tied to function argument for branch @" << func.getName(); } if (!common_arg_index.has_value()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 28K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
if (failed(tensorflow::GetDevicesFromOp(moduleOp, &devices))) return moduleOp.emitOpError() << "No available devices."; llvm::ArrayRef<tensorflow::DeviceNameUtils::ParsedName> device_names = devices.device_names(); auto status_or_system_devices = GetTPUSystemDevices(device_names); if (!status_or_system_devices.ok()) return moduleOp.emitOpError() << "error in fetching TPU_SYSTEM devices: "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
if (!ranked_type) return context_op->emitOpError() << "A map_outside_compilation op's input and output types must be " "ranked tensors."; ArrayRef<int64_t> in_shape = ranked_type.getShape(); if (in_shape.empty() || in_shape[0] < 0) { return context_op->emitOpError() << "A map_outside_compilation op's input and output shapes must "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
if (!num_cores_per_replica_attr) return cluster_func.emitOpError( CreateMissingAttributeMsg(tensorflow::kNumCoresPerReplicaAttr)); int num_cores_per_replica = num_cores_per_replica_attr.getInt(); auto topology_attr = cluster_func->getAttrOfType<StringAttr>(tensorflow::kTopologyAttr); if (!topology_attr) return cluster_func.emitOpError( CreateMissingAttributeMsg(tensorflow::kTopologyAttr));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/verify_quant_legalization.cc
if (llvm::any_of(op->getOperandTypes(), IsQuantType) || llvm::any_of(op->getResultTypes(), IsQuantType) || IsTFUniformQuantizedOp(op) || IsMhloUniformQuantizedOp(*op)) { op->emitOpError("is illegal as it is a UQ op or contains uq/qint types"); LOG(ERROR) << "Found illegal op containing uq/qint type: " << op->getName().getStringRef().str(); return WalkResult::interrupt(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc
Value* buffer) { auto max_count_op = max_size.getDefiningOp(); if (!max_count_op) return op->emitOpError("unknown max element count"); auto max_count_const_op = llvm::dyn_cast<TF::ConstOp>(max_count_op); if (!max_count_const_op) return op->emitOpError("unknown max element count"); int64_t max_size_const = (*max_count_const_op.getValue().getValues<APInt>().begin())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.5K bytes - Viewed (0)