- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 232 for LogicalResult (0.17 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/fold_broadcast.cc
: RewritePattern(MatchAnyOpTypeTag(), 1, context) {} LogicalResult matchAndRewrite(Operation* op, PatternRewriter& rewriter) const override; private: template <typename Op> LogicalResult RewriteEqOp(Operation* op, PatternRewriter& rewriter) const; LogicalResult RewriteOp( Operation* op, PatternRewriter& rewriter,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h
#include "mlir/Support/LLVM.h" // from @llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project #include "tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" namespace mlir { namespace OpTrait { namespace TF { // Verifies if 'ref_type' is a REF type corresponding to 'type'. static inline LogicalResult VerifyRefTypeMatch(mlir::Type type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.h
// Emits an error on failure. mlir::LogicalResult PrepareParams(); // Given the required_consts, it will fill the 3 output vectors with // their respective data. // Expressions: Output XLA expressions as required by the compiled kernel. // Tensors: Vector of tensors that back the TensorValue inputs // Inputs: Vector of inputs that are backed by tensors. mlir::LogicalResult PrepareKernelInputs(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
<< rank << "); actual value: " << axis; } } } return success(); } LogicalResult CumprodOp::verify() { return Verify(*this); } LogicalResult CumsumOp::verify() { return Verify(*this); } LogicalResult CumulativeLogsumexpOp::verify() { return Verify(*this); } //===----------------------------------------------------------------------===// // ConcatOffsetOp
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/utils/tftext_utils.cc
#include "mlir/IR/Operation.h" // from @llvm-project #include "mlir/IR/Types.h" // from @llvm-project #include "mlir/IR/Value.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" namespace mlir { namespace TFL { namespace {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
// // TFE general operations // NodeDef.device <-> "device" // // The following two functions are only used for mapping/excluding attributes // which are inconsistent between TFG and TFE. // static mlir::LogicalResult FilterTfgSpecificArgResultAttributes( mlir::MLIRContext *context, mlir::ArrayRef<Type> types, mlir::ArrayAttr array_attr, llvm::SmallVector<mlir::Type> &output_types,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/nms_utils.cc
func_.getLoc(), output_type0, output_type1, boxes, scores, max_output_size, iou_threshold, score_threshold); builder.create<mlir::func::ReturnOp>(func_.getLoc(), op.getResults()); } LogicalResult ConvertNMSPaddedFunc::VerifySignature() { // Verify high-level function signature. // Relevant argument characteristics are checked by the TFL op definition. if (func_.getNumArguments() < 5) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
return LogicalResult::failure(); } } else if (!non_tpu_ops.contains(operand.get().getDefiningOp())) { return_op.emitOpError() << "non TPU ops do not divide state into two pieces."; return LogicalResult::failure(); } } } return LogicalResult::success(); } LogicalResult ExtractOpsAsFunc(
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/tensorflow/utils/device_util.cc
#include "mlir/IR/Location.h" // from @llvm-project #include "mlir/IR/Operation.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_set.h" #include "tensorflow/core/util/device_name_utils.h" namespace tensorflow {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc
return failure(); } } LogicalResult matchAndRewrite(TF::IfOp ifop, PatternRewriter& rewriter) const override { bool success = succeeded(adjustBranch(ifop, ifop.then_function(), rewriter)) || succeeded(adjustBranch(ifop, ifop.else_function(), rewriter)); return LogicalResult::success(success); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 9.8K bytes - Viewed (0)