- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 124 for StringRef (0.22 sec)
-
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) -
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) -
tensorflow/compiler/mlir/tensorflow/transforms/hoist_loop_invariant.cc
ResourceHandle GetResourceHandle(Operation *op) { llvm::StringRef device; if (auto attr = op->getAttrOfType<StringAttr>("device")) { device = attr.getValue(); } llvm::StringRef container; if (auto attr = op->getAttrOfType<StringAttr>("container")) { container = attr.getValue(); } llvm::StringRef shared_name; if (auto attr = op->getAttrOfType<StringAttr>("shared_name")) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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)