- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 89 for emitError (0.67 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h
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_saved_model_freeze_variables.cc
auto input_shapes_attr = func_op->getAttrOfType<ArrayAttr>(kTfInputShapesAttr); if (!input_shapes_attr) return success(); if (input_shapes_attr.size() != func_op.getNumArguments()) { return func_op->emitError( "Number of arguments and 'tf._input_shapes' " "attribute size do not match. ") << "Num args: " << func_op.getNumArguments()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc
bool* changed = nullptr) { auto res = result->AddResourceDevice(resource, device, changed); if (failed(res)) { error_reporting_op->emitError() << "Conflicting device assignment for resource"; } return res; } // Extracts and canonicalizes the device attribute. inline StringRef GetDeviceAttr(func::FuncOp func, int arg_no) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 03:47:00 UTC 2023 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/pick_subgraphs.cc
if (impl_iter == func_impls.end()) { call_op.emitError( "we cannot find corresponding implementation for this call op"); signalPassFailure(); } for (auto impl : impl_iter->second) { auto inference_device_type = GetInferenceDeviceTypeForOp(impl); if (!inference_device_type.has_value()) { impl.emitError("we cannot find inference device type for this func");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 24 15:10:02 UTC 2022 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc
parser.emitError( loc, "tf dialect has no types, potentially meant !tf_type." + spec); return nullptr; } Attribute TensorFlowDialect::parseAttribute(DialectAsmParser &parser, Type type) const { StringRef spec = parser.getFullSymbolSpec(); llvm::SMLoc loc = parser.getCurrentLocation(); parser.emitError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc
builder.getStrArrayAttr({kImportModelDefaultGraphFuncName})); if (input_names.size() != main_func.getNumArguments() || output_names.size() != main_func.getNumResults()) { module_op.emitError() << "Number of inputs and outputs in the tf.entry_function attribute " "mismatched. [Input] Expected: " << input_names.size() << ", got: " << main_func.getNumArguments()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
fetched_device_coordinates.ok()) { device_coordinates = *fetched_device_coordinates; return mlir::success(); } else { return cluster.emitError() << "error in fetching tpu device coordinates: " << fetched_device_coordinates.status().message(); } } int GetNumCoresPerReplica(mlir::tf_device::ClusterOp cluster) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc
// Handle only static shape cases. // TODO(b/260284866): Handle dynamic shape cases. if (!lhs_shape.hasStaticShape()) { return op.emitError("lhs must have static shape."); } if (!rhs_shape.hasStaticShape()) { return op.emitError("rhs must have static shape."); } const int64_t padding_nums_size = 2 * (rhs_shape.getRank() - 2); padding_nums.reserve(padding_nums_size);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc
tf_executor::GraphOp graph_op; if (llvm::hasSingleElement(graph_op_range)) graph_op = dyn_cast<tf_executor::GraphOp>(func.front().front()); if (!graph_op) { func.emitError("expected function to contain only a graph_op"); signalPassFailure(); return; } // New control inputs to be added. For an operation x, new_control_inputs[x]
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/quantization/tensorflow/passes/quantize_weights.cc
// parallel. for (auto func : module_op.getOps<func::FuncOp>()) { if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) { func.emitError() << "quant-quantize-weights failed."; signalPassFailure(); } } } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateQuantizeWeightsPass(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 11.3K bytes - Viewed (0)