Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 244 for StringRef (0.4 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_reorder_replicate_and_partitioned_inputs.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <cstddef>
    #include <optional>
    
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 24 23:08:55 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/transforms/tac_filter.cc

      }
      explicit TacFilterPass(TacFilters* tac_filters) {
        tac_filters_ = tac_filters;
      }
    
     private:
      TacFilters* tac_filters_ = nullptr;
    
      llvm::StringRef getArgument() const final { return "tfl-tac-filter"; }
      llvm::StringRef getDescription() const final {
        return "This pass marks the ops to skip target annotation by inserting "
               "`tac.skip_target_annotation` attribute to them based on user "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc

    // `tf.backend_config` is a DictionaryAttr, JAX2TF sets the value of its
    // i64 attribute `called_index` to the TF function's name.
    constexpr llvm::StringRef kTfBackendConfigAttrName = "tf.backend_config";
    constexpr llvm::StringRef kCalledIndexAttrName = "called_index";
    constexpr llvm::StringRef kCalledFuncAttrName = "called_func";
    
    // Converts `called_func` attributes in custom call ops back to `called_index`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/strip_tf_attributes.cc

        : public impl::StripTfAttributesPassBase<StripTfAttributesPass> {
      void runOnOperation() override;
    };
    
    bool ShouldStripAttr(NamedAttribute &namedAttr) {
      StringRef name = namedAttr.getName().strref();
      if (name.starts_with("tf.") || name.starts_with("tf_")) return true;
      StringRef value = namedAttr.getValue().getDialect().getNamespace();
      return value == "tf" || value.starts_with("tf_");
    }
    
    void StripFunction(func::FuncOp func) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/session_utils.cc

    #include "tensorflow/compiler/mlir/tensorflow/utils/session_utils.h"
    
    #include <string>
    #include <vector>
    
    #include "absl/status/status.h"
    #include "llvm/ADT/SmallSet.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/utils/string_container_utils.h"
    #include "tensorflow/core/common_runtime/device_mgr.h"
    #include "tensorflow/core/framework/device.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/test_side_effect_analysis.cc

          if (llvm::isa<func::ReturnOp>(op)) {
            op->emitRemark("Sinks: ")
                << "{" << join_ids(analysis.ControlSinks()) << "}";
          }
        });
      }
    
      StringRef getArgument() const final { return "tf-test-side-effect-analysis"; }
      StringRef getDescription() const final {
        return "Test pass for analyzing side-effect analysis result";
      }
    };
    
    }  // anonymous namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.cc

    #include <algorithm>
    #include <array>
    #include <cstdint>
    #include <optional>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinTypeInterfaces.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 18:33:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.cc

    #include "tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.h"
    
    #include <memory>
    #include <string>
    #include <vector>
    
    #include "absl/log/log.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.h"
    #include "tensorflow/compiler/mlir/tf2xla/internal/compilation_timer.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/report.cc

    using ::tsl::protobuf::TextFormat;
    
    // Given a `quantized_func_name` that starts with `kQuantizedFuncPrefix`,
    // converts `kQuantizedFuncPrefix` to `kCompositeFuncPrefix`.
    std::string GetCompositeFunctionName(const StringRef quantized_func_name) {
      return Twine(kCompositeFuncPrefix)
          .concat(quantized_func_name.rsplit(kQuantizedFuncPrefix).second)
          .str();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc

    #include "tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.h"
    
    #include <memory>
    #include <string>
    #include <vector>
    
    #include "absl/cleanup/cleanup.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinDialect.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:17:14 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top