- Sort Score
- Result 10 results
- Languages All
Results 31 - 37 of 37 for emitOpError (0.43 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc
// extra attribute. if (!ops_with_tokens.contains(&op)) continue; if (!IsCommunicationOp(&op) && !SupportsCommunicationComputation(&op)) { return op.emitOpError( "does not support subcomputations with tf/xla communication ops"); } op.setAttr(tensorflow::kXlaTokenInputNodesAttrName, ArrayAttr::get(ctx, {token}));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc
// call to the reduce function in the ReduceDatasetOp. LogicalResult DecomposeReduceDatasetInFunction(FuncOp function) { if (!llvm::hasSingleElement(function)) return function.emitOpError("Expecting a single block function"); auto decompose_result = function.walk([&](ReduceDatasetOp reduce_dataset) { if (!reduce_dataset->hasAttrOfType<StringAttr>(TF::kCompileDeviceTypeAttr))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc
} else if (auto other_island_op = owner->getParentOfType<tf_executor::IslandOp>()) { (*new_control_inputs)[other_island_op].push_back(sink_island_control); } else { owner->emitOpError("adding control dependency not supported"); return signalPassFailure(); } } } for (auto item : llvm::zip(island_op.getOutputs(), island_op.GetYield().getFetches()))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 20:52:36 UTC 2023 - 16.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
if (!IsControlFlowOp(parent)) return op->emitOpError() << "expects ancestor(s) to be of ['" << IfOp::getOperationName() << "', '" << func::FuncOp::getOperationName() << "']"; if (!llvm::hasSingleElement(block->getParent()->getBlocks())) return op->emitOpError() << "expects single block region ancestor(s)"; control_flow_ops.insert(parent);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc
return; } iter_op = iter_op->getParentOp(); } if (!IsSupportedOp(*op, supported_ops, tf_dialect)) { op->emitOpError() << "isn't compilable for TPU device. enable " "soft_device_placement option to run on CPU"; ++uncompilable_op_count; } }); return uncompilable_op_count > 0; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc
use_spmd = use_spmd_attr.getValue(); auto num_cores_per_replica_attr = cluster_func->getAttrOfType<IntegerAttr>(kNumCoresPerReplicaAttr); if (!num_cores_per_replica_attr) return cluster_func.emitOpError( CreateMissingAttributeMsg(kNumCoresPerReplicaAttr)); int num_cores_per_replica = num_cores_per_replica_attr.getInt(); llvm::SmallVector<std::string> logical_device_vec(num_cores_per_replica);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 28.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0)