- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 216 for emitError (0.13 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/passes/verify_input_dialect_to_executor_pass.cc
" which is not an accepted dialect"; op->emitError() << error; return WalkResult::interrupt(); } if (IsTfDeviceClusterFuncOp(op)) { std::string error = "failed TF functional to executor validation, op " "tf_device.cluster_func is not allowed"; op->emitError() << error; return WalkResult::interrupt(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 08 16:32:56 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/verify_clustering_pass.cc
" not in tf functional dialect"; op->emitError() << error; return WalkResult::interrupt(); } if (op->hasAttr(mlir::TF::kXlaOutsideCompilationAttr)) { std::string error = "op has outside compilation attribute _xla_outside_compilation which " "is not allowed after clustering"; op->emitError() << error; return mlir::WalkResult::interrupt(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 08 20:33:37 UTC 2023 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
if (!llvm::hasSingleElement(body)) return parser.emitError(loc) << "expects a single block region"; // Get the results type from the terminator type inside the graph. Operation &fetch = body.back().back(); if (!isa<FetchOp>(fetch)) return parser.emitError(loc) << "expects a tf_executor.fetch terminator";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc
return func->emitError() << "'" << attr_name << "' attribute for " << kMaxUnpooling << " must be set and has size of " << N; } results->reserve(N); for (Attribute integer_attr : array_attr.getValue()) { IntegerAttr value = mlir::dyn_cast<IntegerAttr>(integer_attr); if (!value) { return func->emitError()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/get_alternative_subgraph.cc
if (current_device->empty()) { func.emitError( "cannot find target annotation or unknown device specified for current " "function"); return; } auto current_inference_type = GetInferenceTypeAnnotation(func); if (!current_inference_type.has_value() || current_inference_type == UNKNOWN) { func.emitError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables.cc
Block& block = function.front(); const tensorflow::DeviceMgr* mgr = nullptr; auto status = session->LocalDeviceManager(&mgr); if (!status.ok()) return function->emitError( absl::StrCat("failed to fetch device manager: ", status.message())); // Fetch all varHandleOp in the function. llvm::SmallVector<TF::VarHandleOp, 4> var_ops;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 19:14:56 UTC 2023 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_validate_inputs.cc
// GuaranteeAllFuncsOneUsePass to remove "tf.entry_function" or // "tf_saved_model.initializer_type" attribute from the callee of the // inner calls if the problem ever arises. entry_func->emitError() << "TF2XLA MLIR Non-replicated Phase 1 Bridge expects no nested calls" " of entry functions as they prevent graph traversal in some " "passes from " "working correctly";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 19:29:14 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.cc
Location loc) { auto dims_type = mlir::dyn_cast<RankedTensorType>(dims.getType()); if (!dims_type) return success(); if (dims_type.getRank() > 1) return emitError(loc, "dimensions can only be 0D or 1D tensor"); auto input_type = mlir::dyn_cast<RankedTensorType>(input.getType()); if (!input_type) return success(); int64_t rank = input_type.getRank();
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/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc
RewritePatternSet patterns(context); stablehlo::populateStablehloToVhloPatterns(&patterns, &converter, context); if (failed(applyPartialConversion(module, target, std::move(patterns)))) { return module->emitError("Failed partial conversion to VHLO"); } return success(); } LogicalResult ApplyVhloToVersionPatterns(ModuleOp module, const std::string &version) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 19:48:51 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/device_util.cc
DeviceNameUtils::ParsedName parsed_name; if (!DeviceNameUtils::ParseFullName( absl::string_view(device.data(), device.size()), &parsed_name)) return mlir::emitError(loc) << "invalid device '" << device << "'"; if (!parsed_name.has_id) return mlir::emitError(loc) << "device '" << device << "' has no id"; *device_ordinal = parsed_name.id; return mlir::success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.4K bytes - Viewed (0)