- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 244 for StringRef (0.21 sec)
-
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) -
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) -
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) -
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/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) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_device_assignment.cc
SimpleTFDeviceAssignmentPass> { public: SimpleTFDeviceAssignmentPass() = default; SimpleTFDeviceAssignmentPass(const SimpleTFDeviceAssignmentPass&) {} explicit SimpleTFDeviceAssignmentPass(llvm::StringRef default_device) { default_device_ = std::string(default_device); } void runOnOperation() override { Builder builder(&getContext()); Dialect* tf = getContext().getLoadedDialect<TensorFlowDialect>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 4.3K 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/lite/experimental/tac/transforms/device_transform_nnapi.cc
OperationPass<func::FuncOp>> { MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(DeviceTransformNNAPIPass) llvm::StringRef getArgument() const final { return "tfl-device-transform-nnapi"; } llvm::StringRef getDescription() const final { return "Suitable transformation for nnapi only."; } void getDependentDialects(DialectRegistry& registry) const override {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 07 18:43:51 UTC 2022 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/utils/utils.h
// tf.ConcatV2 => tf__concat_v2 // TODO(fengliuai): move to an util file. std::string GetComposeFuncName(StringRef tf_op_name); // This is a hardcoded rule for mapping a TFR function op name to the // corresponding TF opname. Examples: // tf__pack -> tf.Pack // tf__concat_v2 => tf.ConcatV2 std::string GetTFOpName(StringRef compose_func_name); // Validate the attributes of 'src' is either contained in the registered
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 2.6K bytes - Viewed (0)