- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for errorHandler (0.95 sec)
-
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
return success(); } mlir::LogicalResult ReshapeOp::verify() { ReshapeOp op = *this; auto error_handler = [&op](const llvm::Twine& message) -> LogicalResult { return op.emitOpError() << message; }; TensorType expected_ty; if (failed(GetReshapeOutputType(op.getInput(), op.getShape(), error_handler, expected_ty))) return failure();
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
} } // namespace LogicalResult ReshapeOp::verify() { ReshapeOp op = *this; auto error_handler = [&op](const llvm::Twine &message) -> LogicalResult { return op.emitOpError() << message; }; TensorType expected_ty; if (failed(GetReshapeOutputType(op.getTensor(), op.getShape(), error_handler, expected_ty))) return failure();
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/lite/flatbuffer_export.cc
} template <typename T> static bool HasValidTFLiteType(Value value, T& error_handler) { // None type is allowed to represent unspecified operands. if (mlir::isa<NoneType>(value.getType())) return true; auto type = mlir::dyn_cast<TensorType>(value.getType()); if (!type) { if (auto op = value.getDefiningOp()) { error_handler.emitError() << '\'' << op << "' should produce value of tensor type instead of "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0)