- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for emitOpError (0.21 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/tf2xla/internal/passes/extract_outside_compilation.cc
if (!ranked_type) return context_op->emitOpError() << "A map_outside_compilation op's input and output types must be " "ranked tensors."; ArrayRef<int64_t> in_shape = ranked_type.getShape(); if (in_shape.empty() || in_shape[0] < 0) { return context_op->emitOpError() << "A map_outside_compilation op's input and output shapes must "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
"transformation pass"; return allow_tensorlist_pass_through_ ? rewriter.notifyMatchFailure(op, error_info) : op.emitOpError(error_info); } Value element_shape = adaptor.getOperands()[0]; Type shape_dtype = getElementTypeOrSelf(element_shape.getType()); // If the `element_shape` is a scalar, we try to acquire its shape by
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
if (crop_start < 0 || crop_end < 0) { op.emitOpError() << "Crops must be non-negative"; return failure(); } start_indices[i + 1] = crop_start; slice_sizes[i + 1] -= crop_start + crop_end; if (slice_sizes[i + 1] < 0) { op.emitOpError() << "Cropped size must be non-negative: start: "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
result->old_to_new_output_indices.push_back(non_resource_results++); continue; } auto aliasing_arg = mlir::dyn_cast<BlockArgument>(retval); if (!aliasing_arg) { return callee.emitOpError("unsupported function call: ") << "resource return value does not alias an input."; } result->old_outputs_aliasing_old_inputs[entry.index()] = aliasing_arg.getArgNumber();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
LogicalResult ValidateOp(Operation *op) { bool has_illegal_ops = false; op->walk([&](Operation *op) { if (isa<TF::VariableV2Op>(op)) { has_illegal_ops = true; op->emitOpError() << "is illegal in a TFLite pipeline"; } }); return failure(has_illegal_ops); } // Converts a set of TF2XLA ops into pure TF ops for future legalizations as
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0)