- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 311 for LogicalResult (0.2 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/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.h
namespace mlir::quant { LogicalResult FillAttributesForUniformQuantizedDotOp( PatternRewriter& rewriter, Operation* op, llvm::StringMap<Attribute>& identifier_to_attr, tensorflow::quantization::QuantizationMethod::PresetMethod quantization_method, bool enable_per_channel_quantization); LogicalResult FillAttributesForUniformQuantizedConvolutionOp(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Dec 10 05:52:02 UTC 2023 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h
// or human readable. mlir::LogicalResult DecodeShardingAttribute(const std::string& shard_str, xla::OpSharding& sharding, bool report_error = true); // Encodes the sharding in human readable form. mlir::LogicalResult DecodeShardingAttribute(mlir::Attribute shard_attr,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 22:18:34 UTC 2024 - 6K 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/quantization/device_target.h
using QuantizedRanges = llvm::SmallVector<QuantizedRange, 4>; using ScaleFn = std::function<LogicalResult(QuantizeContext*, Operation*, AdjacentOperations*, bool*)>; using ScaleDecomposeFn = std::function<LogicalResult(Operation*, QuantizedMultipliers*, QuantizedMultipliers*, QuantizedRanges*)>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 7.1K 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)