- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for emitOpError (0.29 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/visitor.cc
} else if (result.wasSkipped()) { continue; } result = f.walk([&](Operation* op) { const auto uses = SymbolTable::getSymbolUses(op); if (!uses.has_value()) { op->emitOpError() << "contains a potentially unknown symbol table"; return WalkResult::interrupt(); } for (const SymbolTable::SymbolUse& use : *uses) { func::FuncOp called_func =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 03:46:51 UTC 2023 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/canonicalize_compile_and_replicate_attributes.cc
op->removeAttr(tensorflow::kMustCompileAttr); if (!must_compile_attr_val) { if (op->hasAttr(tensorflow::kCompileDeviceTypeAttr)) { op->emitOpError() << "has both '" << tensorflow::kMustCompileAttr << " = false' and '" << tensorflow::kCompileDeviceTypeAttr << "' attribute which contradicts each other";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc
if (!backend_config) { op->emitOpError() << "is missing attribute '" << kTfBackendConfigAttrName << "'"; return WalkResult::interrupt(); } auto called_func = mlir::dyn_cast_or_null<SymbolRefAttr>( backend_config.get(kCalledFuncAttrName)); if (!called_func) { op->emitOpError() << "is missing attribute '" << kCalledFuncAttrName
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.cc
TypeRangeWithDesc range0, TypeRangeWithDesc range1) { if (range0.first.size() != range1.first.size()) { return op->emitOpError() << range0.second << "s (size = " << range0.first.size() << ")" << " should have the same number of values as " << range1.second << "s (size = " << range1.first.size() << ")"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.h
auto key_value = mlir::dyn_cast<mlir::ArrayAttr>(op_attr); if (!key_value || key_value.getValue().size() != 2 || !mlir::isa<mlir::StringAttr>(key_value.getValue()[0])) return op.emitOpError() << "each op_attr should be a key-value pair, " "where the key is a string"; } return mlir::success(); } template <typename OpTy>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_update_embedding_enqueue_op_inputs.cc
auto embedding_attr = op->getAttrOfType<StringAttr>(kTPUEmbeddingAttr); if (!embedding_attr) return mlir::success(); if (!embedding_op_map->insert({embedding_attr.getValue(), op}).second) return op->emitOpError( "found duplicate TPU embedding ops potentially from multiple " "TPUEmbedding layers"); op->removeAttr(kTPUEmbeddingAttr); return success(); } LogicalResult FindTPUEmbeddingOps(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/launch_to_device_attribute.cc
} else if (device_str_attr.getValue() != launch.getDevice()) { return launch.emitOpError() << "inner op has conflicting 'device' attribute, " "got '" << device_str_attr.getValue() << "' but expected '" << launch.getDevice() << "'"; } } else { return launch.emitOpError() << "inner op has bad 'device' attribute, got " << device_attr; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_executor_to_functional.cc
Block* parent_block = graph.getOperation()->getBlock(); for (Operation& op : graph.GetBody().without_terminator()) { auto island_op = llvm::dyn_cast<tf_executor::IslandOp>(op); if (!island_op) return op.emitOpError() << "is not supported for lifting out of tf_executor.graph, " "expected tf_executor.island"; // Move inner ops in island to before the outer graph.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 20:52:36 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tfxla_device_specific_transforms.cc
if (!device_type_.hasValue()) return; auto func_op = getOperation(); auto walk_result = func_op->walk([&](TF::StatelessRandomGetAlgOp op) { if (failed(ConvertGetAlgOp(op))) { op->emitOpError( "Could not convert and remove Device specific information"); return WalkResult::interrupt(); } return WalkResult::advance(); });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 05:56:39 UTC 2023 - 3.1K bytes - Viewed (0)