- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 226 for StringRef (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h
// is returned instead. llvm::StringRef GetDeviceOrEmpty(Operation* op); // Returns resource handle value and id for resource op based on attributes. If // a resource handle is anonymous, a new id is always returned. ResourceHandleValueAndId GetResourceHandleValueAndIdBase( llvm::StringRef container, llvm::StringRef shared_name, llvm::StringRef device, Value resource,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 03 19:26:14 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_side_effects.h
namespace ResourceEffects { struct Variable : ::mlir::SideEffects::Resource::Base<Variable> { StringRef getName() final { return "Variable"; } }; struct Stack : ::mlir::SideEffects::Resource::Base<Stack> { StringRef getName() final { return "Stack"; } }; struct TensorArray : ::mlir::SideEffects::Resource::Base<TensorArray> { StringRef getName() final { return "TensorArray"; } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 26 18:45:40 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/op_or_arg_name_mapper.cc
static inline absl::string_view StringRefToView(llvm::StringRef ref) { return absl::string_view(ref.data(), ref.size()); } static inline llvm::StringRef StringViewToRef(absl::string_view view) { return llvm::StringRef(view.data(), view.size()); } namespace tensorflow { OpOrArgNameMapper::~OpOrArgNameMapper() = default; llvm::StringRef OpOrArgNameMapper::GetUniqueName(llvm::StringRef prefix,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h
// the SessionInitializerOp. inline constexpr StringRef kTfSavedModelInitializerTypeAttr = "tf_saved_model.initializer_type"; // Indicates that the initializer corresponds to the restore op. inline constexpr StringRef kTfSavedModelInitializerRestoreType = "restore_op"; // Indicates that the initializer corresponds to the init op. inline constexpr StringRef kTfSavedModelInitializerInitType = "init_op";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 03:21:34 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/op_or_arg_name_mapper.h
// Mapper from operation or value to name. class OpOrArgNameMapper { public: // Returns unique name for the given prefix. llvm::StringRef GetUniqueName(llvm::StringRef prefix, int hash_value = 0); // Returns unique name for the operation or value. llvm::StringRef GetUniqueName(OpOrVal op_or_val, int hash_value = 0); // Returns unique name as a string_view for the operation or value.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 22:54:55 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/group_by_dialect.cc
void processFunction(mlir::func::FuncOp func, int& counter, llvm::SmallDenseSet<StringRef>& dialects, Operation* module); void processRegion(mlir::Region& region, int& counter, llvm::SmallDenseSet<StringRef>& dialects, Operation* module); llvm::SmallDenseSet<StringRef> top_level_dialects_ = {"ml_program", "glue",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 07:31:01 UTC 2023 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.cc
// SavedModel loader attaches the prefix for you during loading. StringRef MaybeStripAssetDirectoryPrefix(const StringRef filename) { if (filename.find("assets/") == 0) { return filename.drop_front(7); } else { return filename; } } AssetFileDef CreateAssetFileDef(const StringRef filename, const StringRef tensor_name) { AssetFileDef asset_file_def{};
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc
namespace mlir { namespace quant { namespace { constexpr StringRef kSharedNameAttr = "shared_name"; class LiftHashTableOpsAsArgsPass : public PassWrapper<LiftHashTableOpsAsArgsPass, OperationPass<ModuleOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LiftHashTableOpsAsArgsPass) explicit LiftHashTableOpsAsArgsPass() = default; StringRef getArgument() const final {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf.cc
// bridge pipeline or non TPU bridge pipeline. tensorflow::Status RunTFXLABridge( ModuleOp module, llvm::function_ref<void(OpPassManager &pm)> pipeline_builder, llvm::StringRef module_name = llvm::StringRef(), llvm::StringRef dump_prefix = "tf_xla_bridge_v2") { // Explicitly check that the TensorFlow dialect can constant fold ops. // Constant folding is essential for the bridge. Without this check, the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 22:25:18 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/readonly_references_to_resources.cc
#include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h" namespace mlir { namespace TF { namespace { // Location attribute. constexpr StringRef kClassAttr = "_class"; constexpr StringRef kSharedNameAttr = "shared_name"; constexpr StringRef kLocationPrefix = "loc:@"; #define GEN_PASS_DEF_CONVERTREADONLYREFERENCEVARIABLESTORESOURCEVARIABLESPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.8K bytes - Viewed (0)