Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for operator_codes (0.14 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

        return attr;
      }
    };
    
    // Returns true if the op_code belongs to a stablehlo operation.
    bool IsStablehloOp(const tflite::OperatorCodeT &op_code);
    
    // Returns the MLIR op name for the flatbuffer operator corresponding to
    // `op_code`.
    std::string GetMlirOpNameFromOpCode(const ::tflite::OperatorCodeT &op_code);
    
    // Returns the builtin op code for the given MLIR operation on success; emits
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

    }
    
    }  // namespace
    
    bool mlir::IsStablehloOp(const tflite::OperatorCodeT& op_code) {
      llvm::StringRef op_name(
          tflite::EnumNameBuiltinOperator(tflite::GetBuiltinCode(&op_code)));
      return op_name.starts_with("STABLEHLO_");
    }
    
    std::string mlir::GetMlirOpNameFromOpCode(
        const tflite::OperatorCodeT& op_code) {
      auto builtin_code = tflite::GetBuiltinCode(&op_code);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top