Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 244 for StringRef (0.3 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.h

    // `tf_device.cluster_func` ops.
    // Output: A MLIR module in the Tensorflow Executor Dialect.
    tensorflow::Status ExportFromTensorflowDialectToExecutor(
        mlir::ModuleOp module, llvm::StringRef module_name = llvm::StringRef());
    
    }  // namespace v2
    }  // namespace tf2xla
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 03 23:19:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/mark_functions_noinline.cc

      }
    
      MarkFunctionsNoinlinePass(const MarkFunctionsNoinlinePass& other)
          : MarkFunctionsNoinlinePass() {
        noinline_functions_ = other.noinline_functions_;
      }
    
      StringRef getArgument() const final { return "mark-functions-noinline"; }
    
      StringRef getDescription() const final {
        return "Marks a function whose name is in `noinline-functions` option with "
               "the attribute `tf._noinline = true`. This attributes the function "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 18 02:52:57 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.h

    #include "absl/base/attributes.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    // Given the pass manager, add Bridge passes to cluster the replicated input
    // graphs.
    void AddReplicatedBridgeClusteringPipelinePasses(
        mlir::OpPassManager& pm, llvm::StringRef module_name = llvm::StringRef());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 22:39:15 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_quantized_functions.cc

        quantization_method_ = other.quantization_method_;
        op_set_ = other.op_set_;
      }
    
      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in the textual format (on
        // the commandline for example).
        return "quant-insert-quantized-functions";
      }
    
      StringRef getDescription() const final {
        // This is a brief description of the pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/stablehlo_util.cc

      return accepted_dialects;
    }
    
    bool IsAcceptedDialect(llvm::StringRef dialect_name,
                           const std::vector<std::string>& accepted_dialects) {
      return std::find(accepted_dialects.begin(), accepted_dialects.end(),
                       dialect_name) != accepted_dialects.end();
    }
    
    bool IsAcceptedOp(llvm::StringRef dialect_name, llvm::StringRef op_name,
                      const std::vector<std::string>& accepted_dialects) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/manipulate_model_attr.cc

    #include <utility>
    
    #include "llvm/ADT/StringExtras.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    
    namespace mlir {
    namespace quant {
    
    constexpr StringRef kTfEntryFunctionAttr = "tf.entry_function";
    
    void AddEntryFunctionInput(StringRef input_name, func::FuncOp func_op) {
      auto entry_func_attr =
          func_op->getAttrOfType<DictionaryAttr>(kTfEntryFunctionAttr);
      if (!entry_func_attr) return;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 01:13:26 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/logging_hooks.h

    void EnablePassIRPrinting(mlir::PassManager& pm,
                              const std::string& dump_group_name,
                              llvm::StringRef module_name = llvm::StringRef());
    
    };  // namespace internal
    };  // namespace tf2xla
    };  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 14:26:22 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc

    ==============================================================================*/
    
    #include <memory>
    #include <string>
    
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/manipulate_model_attr.h

    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    
    namespace mlir {
    namespace quant {
    
    // Adds a new input name to the `inputs` field of the `tf.entry_function`
    // attribute if the attribute exist in the given function. Otherwise, no
    // attribute is modified.
    void AddEntryFunctionInput(StringRef input_name, func::FuncOp func_op);
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 01:13:26 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h

    #include <memory>
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    
    namespace mlir {
    namespace TFTPU {
    
    // Creates a pass that rewrites `tf_device.launch_func` on TPUs into TPU runtime
    // ops.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>> CreateTPURewritePass(
        llvm::StringRef module_name = llvm::StringRef());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top