Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for shared_ptr (0.51 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      std::unordered_map<string, Node*> node_map = from.BuildNodeNameIndex();
      for (Node* node : to->nodes()) {
        if (const Node* old_node = node_map[node->name()]) {
          if (const std::shared_ptr<AbstractStackTrace>& stack =
                  old_node->GetStackTrace()) {
            DVLOG(2) << "Stack for " << node->name() << " "
                     << old_node->GetStackTrace()->ToString(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

      if (!mlir::isa<mlir::StringAttr>(shard_attr)) return mlir::failure();
    
      auto shard_str = mlir::cast<mlir::StringAttr>(shard_attr).getValue().str();
      return DecodeShardingAttribute(shard_str, sharding, report_error);
    }
    
    void EncodeSharding(mlir::Operation* op, llvm::StringRef shard_str) {
      if (!op->hasAttrOfType<mlir::StringAttr>(shard_str)) return;
    
      ::xla::OpSharding sharding;
      auto sharding_proto_str =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h

        "output_sharding_configuration";
    
    // Parses the sharding string. This sharding string can be binary (serialized)
    // or human readable.
    mlir::LogicalResult DecodeShardingAttribute(const std::string& shard_str,
                                                xla::OpSharding& sharding,
                                                bool report_error = true);
    
    // Encodes the sharding in human readable form.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:18:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_compiler.h

      // program completion in the destructor. There are multiple compilation caches
      // around, which complicates things a little. Perhaps having programs be
      // shared_ptrs (an invasive change) would make the model easier to reason
      // about?
    }
    
    template <typename ExecutableType, typename ClientType>
    string DeviceCompiler<ExecutableType, ClientType>::DebugString() const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top