- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for emitOpError (0.2 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
return op.emitOpError() << "requires depth to be a scalar"; } if (!IsOfRankOrUnranked(op.getOnValue(), 0)) { return op.emitOpError() << "requires on_value to be a scalar"; } if (!IsOfRankOrUnranked(op.getOffValue(), 0)) { return op.emitOpError() << "requires off_value to be a scalar"; } DenseIntElementsAttr depth_attr;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
return op.emitOpError("requires min to be a 0d float tensor"); auto max = GetRankedTensorTypeForOperand(op.getMax()); if (max && !IsOfRankedFloatTensorType(max, 0)) return op.emitOpError("requires max to be a 0d float tensor"); int64_t num_bits = op.getNumBits(); if (num_bits < 2 || num_bits > 16) { return op.emitOpError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
if (size_split < -1) return op.emitOpError( "elements of 'size_splits' should be greater than or equal to -1"); if (negative_size_split_loc != -1) return op.emitOpError("'size_splits' can only have one -1"); negative_size_split_loc = i; } if (negative_size_split_loc != -1) { if (total_size_splits > dim_size) return op.emitOpError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K 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/lite/stablehlo/transforms/legalize_hlo.cc
if (!is_supported_attr_name(attr)) { return op.emitOpError() << attr.getName().getValue() << " is not a supported attribute for ApproxTopK"; } } auto backend_config = mlir::dyn_cast_or_null<mlir::DictionaryAttr>(op.getBackendConfigAttr()); if (!backend_config) { return op.emitOpError() << "Missing backend_config attribute"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K 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)