- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 242 for StringRef (0.23 sec)
-
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) -
tensorflow/compiler/mlir/tensorflow/utils/xla_call_module_attrs.h
// function. constexpr llvm::StringRef kStablehloEntryFunctionAttrName = "_entry_function"; // Every stablehlo function deserialized from XlaCallModule has this attribute. constexpr llvm::StringRef kFromXlaCallModuleAttrName = "_from_xla_call_module"; // Name of `tf.XlaCallModule`'s dictionary attribute for keeping the // deserialized stablehlo module's attributes. constexpr llvm::StringRef kStablehloModuleAttrsAttrName =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 22:08:10 UTC 2023 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.h
// TF_DUMP_GRAPH_PREFIX environment variable if `dirname` is empty and // suffixing `name` with ".mlir". std::string DumpRawStringToFile(llvm::StringRef name, llvm::StringRef content, llvm::StringRef dirname = ""); // Enable the crash reproducer on the provided PassManager to the provided // directory path. // If the provided path is empty, it is retrieved from the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 04:50:13 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/verify_clustering_pass_test.mlir
// CHECK-LABEL: func @testTFDialect func.func @testTFDialect(%arg0: tensor<4x?x!tf_type.stringref>) -> tensor<4x2x!tf_type.string> { %0 = "tf.Identity"(%arg0) : (tensor<4x?x!tf_type.stringref>) -> tensor<4x2x!tf_type.string> func.return %0 : tensor<4x2x!tf_type.string> } // ----- func.func @testTFDialect(%arg0: tensor<4x?x!tf_type.stringref>) -> tensor<4x2x!tf_type.string> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 30 22:07:53 UTC 2024 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_layout_helper.h
namespace mlir { class MLIRContext; namespace TF { SmallVector<int64_t, 4> ReversePermutation(ArrayRef<int64_t> permutation); SmallVector<int64_t, 4> GetDataFormatPermutation(StringRef from, StringRef to); // Shuffle elements in the `attr` according to the permutation. Optional // `inner_size` allows to shuffle array attributes created from rank 2 tensors // on outer dimension only.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_test.cc
ctx_.loadDialect<TensorFlowSavedModelDialect, func::FuncDialect>(); } MLIRContext ctx_; }; // Parses `module_op_str` and returns the resulting `ModuleOp`. ModuleOp ParseModuleOp(const StringRef module_op_str, Block& block, MLIRContext& ctx) { const LogicalResult parse_result = parseSourceString(module_op_str, &block, ParserConfig(&ctx)); EXPECT_TRUE(succeeded(parse_result));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 01 05:03:09 UTC 2023 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc
// Op type is a NameLoc with the ":" suffix. StringRef op_type_with_suffix = mlir::cast<NameLoc>(locations.front()).getName().strref(); StringRef op_type = op_type_with_suffix.substr(0, op_type_with_suffix.size() - 1); new_unit.set_op_type(op_type.str()); if (isa<NameLoc>(locations.back())) { StringRef name_loc_id =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.h
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h
// associated compilation cluster and replication metadata op. inline constexpr llvm::StringRef kTpuReplicateAttr = "_tpu_replicate"; // Device types. inline constexpr llvm::StringRef kTpuDevice = "TPU"; // _xla_outside_compilation inline constexpr llvm::StringRef kXlaOutsideCompilationAttr = "_xla_outside_compilation"; // device attr inline constexpr llvm::StringRef kDeviceAttr = "device";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc
void CountOp(DenseMap<StringRef, llvm::StringMap<int64_t>> &op_count_map, StringRef op_name, StringRef dtype); private: llvm::StringMap<int64_t> op_with_dialect_count_; DenseMap<StringRef, llvm::StringMap<int64_t>> op_dtype_count_; llvm::StringMap<int64_t> dialect_count_; llvm::StringMap<StringRef> dialect_name_of_; llvm::StringMap<StringRef> op_name_of_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0)