- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 61 for emitOpError (0.12 sec)
-
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/tensorflow/ir/tf_device.cc
return mlir::dyn_cast_or_null<StringAttr>(attr); }); if (!is_device_string) return op.emitOpError() << "expects 'devices' to be a consists of " "string list as values."; if (device_list.size() != n) return op.emitOpError() << "expects number of devices (" << device_list.size() << ") to be equal to 'n' (" << n << ")";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K 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/sparsecore/embedding_pipelining.cc
for (OpType op : func.getOps<OpType>()) { if (found_op != nullptr) { func.emitOpError() << "number of " << found_op.getOperationName() << " in loop body is not 1"; return LogicalResult::failure(); } if (GetReplicationAttr(op) != replication_attr) { op.emitOpError() << "is not part of the replication region "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc
if (func_arg.getOwner() != &block) return read_op.emitOpError(kResourceFunctionMsg); ResourceInfo& resource_info = resources[func_arg.getArgNumber()]; resource_info.read = true; read_op.getValue().replaceAllUsesWith(resource_info.live_value); } else { return read_op.emitOpError(kInvalidResourceMsg); } read_op.erase();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
if (!num_cores_per_replica_attr) return cluster.emitOpError( CreateMissingAttributeMsg(tensorflow::kNumCoresPerReplicaAttr)); int num_cores_per_replica = num_cores_per_replica_attr.getInt(); auto topology_attr = cluster->getAttrOfType<StringAttr>("topology"); if (!topology_attr) return cluster.emitOpError( CreateMissingAttributeMsg(tensorflow::kTopologyAttr));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc
if (arg_it == info.stack_var_arg_to_size_arg.end()) continue; auto it = data_var_to_size_var.find(call.getOperand(i)); if (it == data_var_to_size_var.end()) { call.emitOpError("unknown stack"); return failure(); } assert(arg_it->second == new_operands.size()); new_operands.push_back(it->getSecond()); } OpBuilder builder(call);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.8K 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/ir/tf_traits.h
element_type) { return op->emitOpError( "requires compatible element types for all operands and results"); } } // Verify that all operand element types are compatible to `element_type`. for (const auto& operand_type : op->getOperandTypes()) { if (mlir::tf_type::GetElementTypeOrSelfResolveRef(operand_type) != element_type) { return op->emitOpError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0)