- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 79 for emitOpError (0.17 sec)
-
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/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/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) -
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/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)