- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 244 for StringRef (0.5 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils.cc
#include "tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils.h" #include "absl/status/status.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/TypeSwitch.h" #include "llvm/Support/Casting.h" #include "mlir/IR/BuiltinAttributes.h" // from @llvm-project #include "mlir/IR/BuiltinTypes.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/gpu_ops.h
namespace tfrt { namespace gpu { // Dialect for TFRT GPU operations. class GpuRuntimeDialect : public Dialect { public: explicit GpuRuntimeDialect(MLIRContext *context); static StringRef getDialectNamespace() { return "gpurt"; } }; } // namespace gpu } // namespace tfrt #define GET_OP_CLASSES #include "tensorflow/compiler/mlir/tfrt/ir/gpu_ops.h.inc"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 24 14:49:54 UTC 2023 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/remove_var_init_by_const.cc
OperationPass<ModuleOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID( RemoveVariableInitializationByConstPass) StringRef getArgument() const final { return "quant-remove-var-init-by-const"; } StringRef getDescription() const final { return "Removes `tf.AssignVariableOp(tf.VarHandleOp, tf.Const)` patterns " "from the initializer function of type 'restore_op'."; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 03 12:04:03 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.h" #include <cstdint> #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/IR/BuiltinAttributes.h" // from @llvm-project #include "mlir/IR/TypeUtilities.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/bridge_logger.cc
#include "tensorflow/compiler/mlir/tensorflow/utils/bridge_logger.h" #include <atomic> #include <memory> #include <string> #include <vector> #include "absl/strings/str_split.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/FormatVariadic.h" #include "mlir/IR/Operation.h" // from @llvm-project #include "mlir/IR/OperationSupport.h" // from @llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 06 22:29:51 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.cc
llvm::SmallVectorImpl<std::pair<llvm::StringRef, mlir::Attribute>> *op_attrs) { assert(op_attrs); op_attrs->clear(); mlir::Builder builder(context); for (auto iter : op_attr_array) { auto key_value = mlir::cast<mlir::ArrayAttr>(iter).getValue(); llvm::StringRef key = mlir::cast<mlir::StringAttr>(key_value[0]).getValue(); mlir::Attribute value = key_value[1];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/compute_cost.cc
: public mlir::PassWrapper<ComputeCostPass, mlir::OperationPass<ModuleOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ComputeCostPass) private: llvm::StringRef getArgument() const final { return "tfl-compute-cost"; } llvm::StringRef getDescription() const final { return "Compute the total cost for each available subgraph."; } void runOnOperation() override; }; void ComputeCostPass::runOnOperation() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 24 15:10:02 UTC 2022 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc
AddFunctionsForExportedNamesPass> { void runOnOperation() override; }; // Set the (array of) exported name(s) of a (public) function to just // contain the given string. void SetExportedName(func::FuncOp f, StringRef name) { OpBuilder b(f); f->removeAttr(kTfSavedModelExportedNamesAttr); f->setAttr(kTfSavedModelExportedNamesAttr, b.getStrArrayAttr({name})); } // Convert a savedmodel public function into a private function.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util_test.cc
limitations under the License. ==============================================================================*/ #include "tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util.h" #include <string> #include "llvm/ADT/StringRef.h" #include "llvm/Support/FormatVariadic.h" #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/IR/Builders.h" // from @llvm-project #include "mlir/IR/BuiltinOps.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc
#include <algorithm> #include <functional> #include <memory> #include <string> #include <utility> #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/SourceMgr.h" #include "mlir/Parser/Parser.h" // from @llvm-project #include "mlir/Pass/PassManager.h" // from @llvm-project #include "tensorflow/compiler/mlir/tensorflow/dialect_registration.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 9.1K bytes - Viewed (0)