Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for kRelu (0.16 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize.cc

    //===----------------------------------------------------------------------===//
    // The actual Optimize Pass.
    namespace {
    #define GEN_PASS_DEF_OPTIMIZEPASS
    #include "tensorflow/compiler/mlir/lite/transforms/passes.h.inc"
    
    constexpr char kRelu[] = "RELU";
    constexpr char kRelu6[] = "RELU6";
    constexpr char kRelu1[] = "RELU_N1_TO_1";
    
    ElementsAttr FlattenTo1D(Attribute a) {
      auto elements = mlir::cast<DenseElementsAttr>(a);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc

    namespace mlir {
    namespace odml {
    namespace {
    
    // TODO - b/330337238: Surface these to other files when needed.
    constexpr llvm::StringLiteral kCompositeNamespace = "odml.internal";
    constexpr llvm::StringLiteral kGelu = "gelu";
    
    std::string MakeCompositeName(llvm::StringRef op_name) {
      return (kCompositeNamespace + "." + op_name).str();
    }
    
    #define GEN_PASS_DEF_OUTLINECOMPOSITESPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top