- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 61 for emitOpError (0.59 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
if (failed(ConvertIfOp(symbol_table, if_region))) { op->emitOpError() << "failed to convert to functional form"; return WalkResult::interrupt(); } } else if (auto case_region = llvm::dyn_cast<CaseRegionOp>(op)) { if (failed(ConvertCaseOp(symbol_table, case_region))) { op->emitOpError() << "failed to convert to functional form"; return WalkResult::interrupt();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
if (!is_supported_attr_name(attr)) { return op.emitOpError() << attr.getName().getValue() << " is not a supported attribute for ApproxTopK"; } } auto backend_config = mlir::dyn_cast_or_null<mlir::DictionaryAttr>(op.getBackendConfigAttr()); if (!backend_config) { return op.emitOpError() << "Missing backend_config attribute"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/hoist_broadcast_read.cc
std::string device = attr.getValue().str(); tensorflow::DeviceNameUtils::ParsedName parsed_name; if (!tensorflow::DeviceNameUtils::ParseFullName(device, &parsed_name)) { return read->emitOpError() << "invalid device '" << device << "'"; } is_cpu_read = parsed_name.type == kCpuDeviceType; return success(); } } is_cpu_read = false; return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc
return partitioned_output.emitOpError() << "must be a unique user of TPU Cluster " "(tf_device.old_parallel_execute) output " << *old_parallel_execute_output.getOwner(); if (UnsupportedPartitionedShardingType(output_sharding_type)) return old_parallel_execute.emitOpError() << "unsupported output sharding type "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 34K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc
llvm::dyn_cast<tf_device::ReplicateOp>(parent)) { int n = replicate.getN(); new_value = parent->getResult(operand.getOperandNumber() * n); } else { parent->emitOpError("Unsupported wrapper op."); return nullptr; } } if (!new_value) { return nullptr; } else { value = new_value; } } return value; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/pin_ops_with_side_effects.cc
// before this pass. We could relax this requirement by defining folding logic // for them. if (fn.walk([&](TFL::ControlNodeOp) { return WalkResult::interrupt(); }).wasInterrupted()) { fn.emitOpError("Can't have control ops in this pass."); signalPassFailure(); } llvm::SmallVector<Operation *, 4> ops_with_side_effects; // We're iterating over all operations at the top block level, excluding
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
MLIRContext *ctx = &getContext(); SymbolTable symbol_table(getOperation()); if (Operation *nested_module = symbol_table.lookup(kNestedModule)) { nested_module->emitOpError("unexpected already present outlined module."); return signalPassFailure(); } ModuleOp outlined_module = ModuleOp::create(getOperation().getLoc()); outlined_module->setAttrs(getOperation()->getAttrDictionary());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
if (inst->getNumOperands() != inst->getNumResults()) { inst->emitOpError( "number of operands and results don't match, only canonical " "TFL While supported"); return std::nullopt; } return BuildWhileOperator(whileOp, operands, results); } inst->emitOpError("is not a supported TFLite op"); return std::nullopt; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
parsed_op_name, attrs, node_def))) { return failure(); } if (parsed_op_name != tf_op_name) { return op.emitOpError( "TF op names in 'custom_code' and 'custom_option' don't match"); } const tensorflow::OpDef* op_def; // This will fail only if the op is not a registered TensorFlow op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0)