Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 724 for Dialect (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_opt.cc

    ==============================================================================*/
    
    #include "mlir/Dialect/Func/Extensions/AllExtensions.h"  // from @llvm-project
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Quant/QuantTypes.h"  // from @llvm-project
    #include "mlir/Dialect/SCF/IR/SCF.h"  // from @llvm-project
    #include "mlir/Dialect/Shape/IR/Shape.h"  // from @llvm-project
    #include "mlir/InitAllDialects.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:20:34 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/dump_graph.h

        return *this;
      }
    
      MlirDumpConfig& emit_dialect(Dialect dialect) {
        this->dialect = dialect;
        return *this;
      }
    
      // Op printing flags.
      mlir::OpPrintingFlags op_printing_flags = std::nullopt;
    
      // The target MLIR dialect.
      Dialect dialect = Dialect::kTFG;
    };
    
    // Change DumpGraphToFile to dump MLIR textual IR instead of protobuf.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Dec 24 09:43:29 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets.cc

    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Shape/IR/Shape.h"  // from @llvm-project
    #include "mlir/Dialect/Tensor/IR/Tensor.h"  // from @llvm-project
    #include "mlir/Transforms/DialectConversion.h"  // from @llvm-project
    #include "stablehlo/dialect/ChloOps.h"  // from @stablehlo
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h

      // Re-define publicly the protected addOperations() method from the Dialect
      // class, usually used in a Dialect constructor. This allows hook
      // functions to register operations on the TensorFlow dialect using the
      // same interface.
      template <typename... Args>
      void addOperations() {
        Dialect::addOperations<Args...>();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_assignment.cc

            // Assign default device to all ops in Tensorflow dialect that do not
            // have device attribute.
            op->setAttr(kDeviceAttr, builder.getStringAttr(default_device_));
          }
        });
      }
    };
    
    #define GEN_PASS_DEF_TFDEVICEASSIGNMENTBYFUNCATTRPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    // A pass to perform device assignment for TF dialect ops that do not
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h

    namespace tf_executor {
    
    class TensorFlowExecutorDialect : public Dialect {
     public:
      static StringRef getDialectNamespace() { return "tf_executor"; }
      explicit TensorFlowExecutorDialect(MLIRContext *context);
    
      // Parses a type registered to this dialect.
      Type parseType(DialectAsmParser &parser) const override;
    
      // Prints a type registered to this dialect.
      void printType(Type type, DialectAsmPrinter &os) const override;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/passes.h

    // Creates an instance of the TensorFlow Lite dialect PrepareTF pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePrepareTFPass(
        bool unfold_batch_matmul, bool allow_bf16_and_f16_type_legalization,
        bool use_fake_quant_num_bits = false);
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePrepareTFPass();
    
    // Creates an instance of the TensorFlow Lite dialect LowerStaticTensorList
    // pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.h

    namespace tensorflow {
    namespace tf2xla {
    namespace v1 {
    
    // Given the input Module op that's in the Tensorflow Dialect, convert the MLIR
    // module in place to the Tensorflow Executor Dialect. Returns an OK Status if
    // success, otherwise failure with an error message.
    // The Tensorflow Executor Dialect is required to export an MLIR module to a
    // Tensorflow GraphDef. This API will add control dependencies and verify that
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 11 18:45:46 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc

        "Counts how often a successful export from TF Dialect to Executor Dialect "
        "is",
        "status");
    
    constexpr char kExportSuccess[] = "success";
    constexpr char kExportFailed[] = "failed";
    
    namespace {
    
    void AddTfDialectToExecutorPasses(OpPassManager &pm) {
      pm.addPass(mlir::TF::CreateTFRegionControlFlowToFunctional());
    
      // First, we need to convert from functional, to executor dialect.
      pm.addNestedPass<FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_tf_to_stablehlo_pass.cc

    ==============================================================================*/
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project  // IWYU pragma: keep
    #include "mlir/Dialect/Quant/QuantOps.h"  // from @llvm-project  // IWYU pragma: keep
    #include "mlir/Dialect/Quant/QuantTypes.h"  // from @llvm-project  // IWYU pragma: keep
    #include "mlir/Dialect/SparseTensor/IR/SparseTensor.h"  // from @llvm-project  // IWYU pragma: keep
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 17:19:36 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top