- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for emitOpError (0.15 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
if (!num_cores_per_replica_attr) return cluster.emitOpError( CreateMissingAttributeMsg(tensorflow::kNumCoresPerReplicaAttr)); int num_cores_per_replica = num_cores_per_replica_attr.getInt(); auto topology_attr = cluster->getAttrOfType<StringAttr>("topology"); if (!topology_attr) return cluster.emitOpError( CreateMissingAttributeMsg(tensorflow::kTopologyAttr));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
base_dilations_vec, window_dilations_vec); if (!window) { op->emitOpError("failed to create window"); } auto output_shape = InferWindowOutputShape( input_ty, window.value(), mlir::cast<ShapedType>(op.getInitValue().getType()).getElementType()); if (!output_shape) { op->emitOpError("failed to infer output shape"); }
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/tensorflow/utils/tpu_rewrite_device_util.cc
if (failed(tensorflow::GetDevicesFromOp(moduleOp, &devices))) return moduleOp.emitOpError() << "No available devices."; llvm::ArrayRef<tensorflow::DeviceNameUtils::ParsedName> device_names = devices.device_names(); auto status_or_system_devices = GetTPUSystemDevices(device_names); if (!status_or_system_devices.ok()) return moduleOp.emitOpError() << "error in fetching TPU_SYSTEM devices: "
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/lite/flatbuffer_export.cc
if (inst->getNumOperands() != inst->getNumResults()) { inst->emitOpError( "number of operands and results don't match, only canonical " "TFL While supported"); return std::nullopt; } return BuildWhileOperator(whileOp, operands, results); } inst->emitOpError("is not a supported TFLite op"); return std::nullopt; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K 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/tf2xla/transforms/legalize_tf.cc
algorithm.getType().getRank()) { return op.emitOpError() << "algorithm must be a constant scalar"; } auto alg = static_cast<tensorflow::Algorithm>( algorithm.getValues<IntegerAttr>()[0].getInt()); auto xla_alg = TensorFlowRngAlgToXla(alg); if (!xla_alg) { return op.emitOpError() << "unknown algorithm"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)