- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 208 for emitError (0.21 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc
if (!llvm::is_contained(device_var_reads_indices, it.index()) && !llvm::is_contained(device_var_updates_indices, it.index())) { return execute_launch.GetBody().front().emitError("operand #") << it.index() << " is a resource that was neither read nor written to; this " "resource potentially failed to be hoisted"; } } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 17:52:11 UTC 2024 - 27K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
if (strided_slice_op.getEllipsisMask() != 0) { // Ellipsis mask should have been lowered-away prior to invoking this // function. op->emitError() << "encountered a logical error"; return failure(); } // Insert a new reshape op. Value original_input = strided_slice_op.getInput(); RankedTensorType original_input_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc
std::string err_msg; llvm::raw_string_ostream os(err_msg); for (unsigned i = 0; i < op->getNumResults(); ++i) os << " " << i << ":" << results.GetConstraint(op->getResult(i)); op->emitError(llvm::formatv( "failed to propagate results constraints:{0}", os.str())); } return failure(); } // Update results constraints based on inferred operands constraints.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 27.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc
tile_assignment_rank -= sharding->last_tile_dims_size(); if (tensor_rank < tile_assignment_rank) { if (partitioned_op) { partitioned_op->emitError() << "tensor of type " << ranked_type << " (rank=" << tensor_rank << ") sharded in " << (tile_assignment_rank - tensor_rank) << " extra dimension(s) by: " << sharding->DebugString();
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/stablehlo/passes/quantization_patterns.cc
if (HasWeightOnlyPtqMethod(op) && !IsHybridQuantizedOp(op)) { return failure(); } func::FuncOp entry_func_op = GetEntryFuncOp(op, SymbolTable(module_op)); if (!entry_func_op) { op->emitError("Failed to find a valid entry function."); return failure(); } Method quantization_method = GetQuantizationMethodOrDefault(op); return FuncBodyRewritePatternT(enable_per_channel_quantized_weight_)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
const llvm::SmallPtrSetImpl<Block*>& control_flow_blocks, bool is_clone) { MLIRContext* context = module.getContext(); if (!llvm::hasSingleElement(func.getBody())) return func.emitError() << "'" << FuncOp::getOperationName() << "' ops with more than one block are not supported"; bool rewrite_block = is_clone || (!func.isPublic() && !func.symbolKnownUseEmpty(module));
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/quantization/common/quantization_lib/quantization_utils.h
if (Operation* quantize_op = dyn_cast_or_null<QuantizeOpT>( *quantized_op->getResult(i).getUsers().begin())) { result = quantize_op->getResult(0); } else { quantized_op->emitError() << "Output[" << i << "] is expected to have only one user [QUANTIZE]"; return; } } else { result = quantized_op->getResult(i); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
ComposeUniformQuantizedDotGeneralOpWithTwoQuantizedActivations>( &ctx); if (failed(applyPatternsAndFoldGreedily(module_op, std::move(patterns)))) { module_op.emitError() << "Failed to compose stablehlo uniform quantized types."; signalPassFailure(); } } } // namespace std::unique_ptr<OperationPass<ModuleOp>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
LogicalResult CheckClusterResults(mlir::tf_device::ClusterOp cluster) { for (OpResult result : cluster.getResults()) { if (!tensorflow::TypeValidForXLA(result.getType())) { return cluster.emitError() << "The ExtractHeadTailOutsideCompilation pass produced a Device " "cluster with a result with a non-XLA type: " << result.getType(); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0)