Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 274 for mlir_context (0.14 sec)

  1. tensorflow/compiler/mlir/lite/quantization/ir/ConvertSimQuant.cc

    #include <utility>
    
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Quant/QuantTypes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/PatternMatch.h"  // from @llvm-project
    #include "mlir/IR/Types.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/static_range_ptq.cc

    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/string_view.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/OwningOpRef.h"  // from @llvm-project
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type_test.cc

    #include <gtest/gtest.h>
    #include "mlir/IR/BuiltinTypes.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/register_common_dialects.h"
    
    namespace mlir::quant::stablehlo {
    namespace {
    
    std::unique_ptr<MLIRContext> CreateContext() {
      auto context = std::make_unique<MLIRContext>();
      DialectRegistry mlir_registry;
      RegisterCommonToolingDialects(mlir_registry);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 19 23:51:52 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.cc

    limitations under the License.
    ==============================================================================*/
    #include <memory>
    #include <utility>
    
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
    
    namespace {
    using ::mlir::MLIRContext;
    using ::mlir::Operation;
    using ::mlir::TensorType;
    using ::mlir::Type;
    using ::mlir::Value;
    using ::mlir::TF::VariantType;
    using ::mlir::TFL::ConstBytesAttr;
    
    ConstBytesAttr SerializeOptionsToBytes(MLIRContext* context,
                                           const std::vector<uint8_t>& options) {
      std::string content;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/post_quantize.cc

    // This transformation pass applies some clean up steps after quantization.
    
    #include <memory>
    #include <string>
    #include <utility>
    
    #include "llvm/Support/Casting.h"
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "mlir/Transforms/GreedyPatternRewriteDriver.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_import.h

    #include "absl/strings/string_view.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/Location.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    
    namespace tflite {
    // Converts a TFLite flatbuffer stored in `buffer` to a MLIR module
    // The buffer must live for the duration of the function call,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

        func::FuncOp main = module_->lookupSymbol<mlir::func::FuncOp>("main");
        if (!main) {
          return absl::NotFoundError("Could not find main function");
        }
        return main;
      }
    
     protected:
      MLIRContext context_;
      OwningOpRef<ModuleOp> module_;
    };
    
    TEST_F(LegalizationOpConfigTest, FailsWithExpectsLegalizationWithMlir) {
      TF_EXPECT_OK(CreateMlirModule());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/python/jax_to_tfl_flatbuffer.cc

    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/OwningOpRef.h"  // from @llvm-project
    #include "mlir/IR/TypeUtilities.h"  // from @llvm-project
    #include "mlir/Support/FileUtilities.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo.h

    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TO_STABLEHLO_TF_TO_STABLEHLO_H_
    
    #include <string>
    #include <vector>
    
    #include "absl/status/statusor.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    
    namespace mlir {
    
    // Converts a TensorFlow model (either from a SavedModel or an MLIR module) to a
    // StableHLO MLIR module.
    //
    // Args:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top