Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ConversionPattern (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

                                                          adaptor.getOperands());
        return success();
      }
    };
    
    class ConvertControlTriggerOp : public ConversionPattern {
     public:
      explicit ConvertControlTriggerOp(MLIRContext *context)
          : ConversionPattern("tfg.ControlTrigger", PatternBenefit(1), context) {}
    
      LogicalResult matchAndRewrite(
          Operation *op, llvm::ArrayRef<Value> operands,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc

          }
        }
      }
      return false;
    }
    
    class Tf2XlaRewritePattern : public ConversionPattern {
     public:
      explicit Tf2XlaRewritePattern(MLIRContext* ctx, TypeConverter& converter,
                                    const std::string& device_type,
                                    bool prefer_tf2xla)
          : ConversionPattern(converter, MatchAnyOpTypeTag(), /*benefit=*/1, ctx),
            device_type_(device_type),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

          return converter_.isLegal(op);
        });
      }
    
     private:
      TFQuantTypeConverter &converter_;
    };
    
    class TFQuantTypePattern : public ConversionPattern {
     public:
      TFQuantTypePattern(MLIRContext *ctx, TypeConverter &converter)
          : ConversionPattern(converter, MatchAnyOpTypeTag(), 1, ctx) {}
    
      LogicalResult matchAndRewrite(
          Operation *op, ArrayRef<Value> operands,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc

          }
          return converter_.isLegal(op);
        });
      }
    
     private:
      BFloat16TypeConverter& converter_;
    };
    
    class BFloat16TypePattern : public ConversionPattern {
     public:
      BFloat16TypePattern(TypeConverter& converter, MLIRContext* ctx)
          : ConversionPattern(converter, MatchAnyOpTypeTag(), /*benefit=*/1, ctx) {}
    
      LogicalResult matchAndRewrite(
          Operation* op, const ArrayRef<Value> operands,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top