- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 388 for StringRef (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc
// devices, and empty StringRef will be returned. Control dependencies, // NextIteration.Source -> NextIteration.Sink token dependencies, and // LoopCond -> Switch data dependencies are ignored. llvm::StringRef FindDeviceFromOperands( Operation& op, const llvm::DenseMap<Value, llvm::StringRef>& value_to_device) { llvm::StringRef new_device;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K 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) -
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/tf2xla/api/v1/compile_mlir_util.h
mlir::ModuleOp module_op, llvm::StringRef device_type, xla::XlaComputation* xla_computation, bool use_tuple_args, bool enable_op_fallback, bool return_tuple, const XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns = {}, llvm::MutableArrayRef<std::unique_ptr<mlir::Pass>> custom_legalization_passes = {}, llvm::StringRef module_name = llvm::StringRef());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
bool is_valid_special_tpu_op( std::vector<IslandOp>& ops, llvm::StringRef cluster_name, llvm::SmallDenseMap<llvm::StringRef, llvm::SmallDenseSet<Operation*>>& cluster_to_tpu_op_map) { for (IslandOp op : ops) { Operation* wrapped_op = &op.GetBody().front(); std::optional<llvm::StringRef> wrapped_op_cluster_name = GetTpuClusterName(wrapped_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K 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/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/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)