Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 386 for LogicalResult (0.29 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.h

      using OpRewritePattern<TFL::PackOp>::OpRewritePattern;
    
      LogicalResult matchAndRewrite(TFL::PackOp pack_op,
                                    PatternRewriter& rewriter) const override;
    };
    
    struct SquaredDifference : public OpRewritePattern<TFL::SquaredDifferenceOp> {
      using OpRewritePattern<TFL::SquaredDifferenceOp>::OpRewritePattern;
    
      LogicalResult matchAndRewrite(TFL::SquaredDifferenceOp squared_diff_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 03 16:37:16 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/nms_utils.h

     private:
      LogicalResult CreateNMSCustomOptions(func::FuncOp func, DictionaryAttr attrs,
                                           std::string& custom_option_buffer);
    
      LogicalResult AddIntAttr(func::FuncOp func, DictionaryAttr attrs,
                               const std::string& attribute,
                               flexbuffers::Builder* builder);
    
      LogicalResult AddFloatAttr(func::FuncOp func, DictionaryAttr attrs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.h

     public:
      explicit ConvertMaxUnpoolingFunc(func::FuncOp func, mlir::TF::FuncAttr attr)
          : func_(func), attr_(attr) {}
    
      LogicalResult RewriteFunc();
    
      LogicalResult VerifySignature();
    
     private:
      LogicalResult CreateCustomOptions(std::string& custom_option_buffer);
    
      func::FuncOp func_;
      mlir::TF::FuncAttr attr_;
    };
    
    // Fuse DenseImageWarp ops annotated by tf.function to a TFLite custom op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 17:42:55 UTC 2022
    - 2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top