Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 226 for StringRef (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h

        StringRef serialized_stablehlo_module);
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateLiftQuantizableSpotsAsFunctionsPass(
        const ::stablehlo::quantization::QuantizationSpecs& quantization_specs);
    
    // Creates a pass that inserts CalibrationStatisticsSaverOp.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateInsertCalibrationStatisticsSaverPass(
        StringRef calibration_data_dir,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/tools/op_quant_spec_getters_gen.cc

      llvm::SmallVector<llvm::StringRef, 3> matches;
      for (auto *def : defs) {
        Operator op(def);
        for (const auto t : op.getTraits()) {
          if (auto opTrait = llvm::dyn_cast<mlir::tblgen::NativeTrait>(&t)) {
            auto trait_str = opTrait->getFullyQualifiedTraitName();
            if (!llvm::StringRef{trait_str}.consume_front(
                    "::mlir::OpTrait::quant::"))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 11:18:44 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/localize_var_handles.cc

        // the initial state.
        return;
      }
      auto ops = state->getValue().ops;
      if (ops.size() != 1) {
        return;
      }
      Operation* source = *ops.begin();
      llvm::StringRef container;
      llvm::StringRef shared_name;
      if (auto global = llvm::dyn_cast<tf_saved_model::GlobalTensorOp>(source)) {
        container = "";
        shared_name = global.getSymName();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/tfxla_device_specific_transforms.cc

    class TFXLADeviceSpecificTransforms
        : public impl::TFXLADeviceSpecificTransformsBase<
              TFXLADeviceSpecificTransforms> {
     public:
      explicit TFXLADeviceSpecificTransforms(std::optional<StringRef> device_type) {
        if (device_type.has_value()) {
          device_type_ = device_type.value().str();
        }
      }
      void runOnOperation() override;
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 05:56:39 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util.h

    #include <optional>
    #include <string>
    #include <utility>
    
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/call_graph_util.cc

    #include <vector>
    
    #include "absl/strings/string_view.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/Support/LLVM.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h"
    
    namespace mlir {
    
    std::vector<llvm::StringRef> GetEntryFunctionAttributeNames() {
      return {"tf.entry_function",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_custom_aggregation_op_to_quant_stats.cc

      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
          ConvertCustomAggregationOpToQuantStatsPass)
    
      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-convert-tf-custom-aggregator-op-to-quant-stats";
      }
    
      StringRef getDescription() const final {
        // This is a brief description of the pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.cc

     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(OptimizePass)
    
      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-optimize";
      }
      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
    - 2.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/cluster_util_test.cc

    #include "tsl/lib/core/status_test_util.h"
    #include "tsl/platform/statusor.h"
    
    namespace mlir::TF {
    
    namespace {
    
    constexpr StringRef kTestClusterName = "tpu0";
    
    absl::StatusOr<OwningOpRef<ModuleOp>> GetMlirModuleFromString(
        StringRef string, MLIRContext* context) {
      DialectRegistry mlir_registry;
      RegisterAllTensorFlowDialects(mlir_registry);
      context->appendDialectRegistry(mlir_registry);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/visitor.h

    ==============================================================================*/
    
    #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_UTILS_VISITOR_H_
    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_UTILS_VISITOR_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/IR/OwningOpRef.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 03:46:51 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top