- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for emitError (0.22 sec)
-
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
if (!type) { if (auto op = value.getDefiningOp()) { error_handler.emitError() << '\'' << op << "' should produce value of tensor type instead of " << value.getType(); return false; } error_handler.emitError("expected tensor type, got ") << value.getType(); return false; } Type element_type = type.getElementType();
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/ir/tfl_ops.cc
// params must be at least rank axis + 1 if (params_rank < axis_i + 1) { emitError(result.location, "params must be at least rank axis + 1"); } int64_t batch_dims_i = batch_dims.getInt(); if (batch_dims_i < 0) { batch_dims_i += indices_rank; } if (batch_dims_i > axis_i) { emitError(result.location, "axis should be bigger than or equal to batch_dims"); }
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/ir/tf_ops_n_z.cc
if (op.getNumSparse() != sparse_types_count) { return op.emitError() << "attribute 'num_sparse' should be the same as " << "the length of attribute 'sparse_types'"; } if (op.getSparseIndices().size() != sparse_types_count) { return op.emitError() << "output 'sparse_indices' should have same length " << "as attribute 'sparse_types'";
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
if (!func) { return emitError("'f' attribute refers to an undefined function: ") << func_name; } FunctionType func_ty = func.getFunctionType(); int func_arg_count = func_ty.getNumInputs(); int arg_count = getArgs().size(); if (arg_count != func_arg_count) { return emitError() << "argument count mismatch: 'args' has " << arg_count
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/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/uniform_quantized_stablehlo_to_tfl_pass.cc
RewriteQuantizedSelectOp, RewriteQuantizedSliceOp, RewriteQuantizedTransposeOp>(&ctx); if (failed(applyPatternsAndFoldGreedily(func_op, std::move(patterns)))) { func_op.emitError() << "Failed to convert stablehlo ops with uniform " "quantized types to tflite ops."; signalPassFailure(); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
target.addLegalOp<mhlo::TupleOp>(); if (failed(applyPartialConversion(getOperation(), target, std::move(patterns)))) { getOperation().emitError("mhlo to TF legalization failed."); signalPassFailure(); } } } // end namespace void PopulateLegalizeHloToTfPatterns(RewritePatternSet* patterns,
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/ir/tfl_ops.td
def TFL_BroadcastableBinaryBuilder : OpBuilder<(ins "Value":$lhs, "Value":$rhs), [{ auto resultType = OpTrait::util::getBroadcastedType(lhs.getType(), rhs.getType()); if (!resultType) mlir::emitError($_state.location, "non-broadcastable operands"); $_state.addOperands({lhs, rhs}); $_state.types.push_back(resultType); }]>; def TFL_FusedBroadcastableBinaryBuilder :
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
} } Status ImporterBase::EmitErrorWithLocationStr(const Node& node, const Status& error_status) { const mlir::Location location = GetLocation(node); mlir::emitError(location); return error_handler_.Combine(error_status); } mlir::Operation* ImporterBase::CreateOperation( const Node& node, llvm::StringRef node_type_name, const mlir::OperationState& result,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
src/crypto/x509/verify_test.go
} } func macosMajorVersion(t *testing.T) (int, error) { cmd := testenv.Command(t, "sw_vers", "-productVersion") out, err := cmd.Output() if err != nil { if ee, ok := err.(*exec.ExitError); ok && len(ee.Stderr) > 0 { return 0, fmt.Errorf("%v: %v\n%s", cmd, err, ee.Stderr) } return 0, fmt.Errorf("%v: %v", cmd, err) } before, _, ok := strings.Cut(string(out), ".")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 110.2K bytes - Viewed (0)