Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 56 for setSecond (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc

        auto it = value_to_device.find(operand);
        if (it == value_to_device.end()) return llvm::StringRef();
    
        if (new_device.empty()) {
          new_device = it->getSecond();
          continue;
        }
    
        if (new_device != it->getSecond()) return llvm::StringRef();
      }
    
      return new_device;
    }
    
    // Propagates devices from function arguments.
    void PropagateDevicesFromArguments(
        func::FuncOp func,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

        }
      }
      control_predecessors_.clear();
      for (auto& entry : sorted_control_predecessors_) {
        llvm::sort(entry.getSecond(), [](Operation* a, Operation* b) {
          return a->isBeforeInBlock(b);
        });
      }
      for (auto& entry : sorted_control_successors_) {
        llvm::sort(entry.getSecond(), [](Operation* a, Operation* b) {
          return a->isBeforeInBlock(b);
        });
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

      for (auto &kv : constraints_) walk(kv.getFirst(), kv.getSecond());
    }
    
    std::optional<ValueConstraint> ValuesConstraintSet::GetConstraint(
        Value value) const {
      auto it = constraints_.find(value);
      if (it == constraints_.end()) return std::nullopt;
      return it->getSecond();
    }
    
    bool ValuesConstraintSet::HasConstraint(Value value) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

      auto it = resource_value_to_ids_.find(resource);
      assert(it != resource_value_to_ids_.end() && !it->getSecond().empty());
      // The set is sorted so we only need to check the first element since
      // kUnknownResourceId < 0.
      static_assert(kUnknownResourceId < 0,
                    "kUnknownResourceId should be negative");
      return *it->getSecond().begin() == kUnknownResourceId;
    }
    
    const llvm::SmallSet<int64_t, 8>&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc

          auto it = resource_id_to_device_.find(id);
          if (it == resource_id_to_device_.end()) continue;
          if (!result || result == it->second) {
            result = it->getSecond();
            continue;
          }
          // Got conflicting assignments
          return std::nullopt;
        }
        return result;
      }
    
      // Records the device assignment for a resource. If the new assignment
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/exentity/SearchLog.java

                    .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList())));
            sourceMap.put("searchField", searchFieldMap);
            final Map<String, List<String>> headerMap = headerList.stream()
                    .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList())));
            sourceMap.put("headers", headerMap);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

      SymbolTable symbol_table(module);
      for (auto& func : funcs_to_rewrite) {
        if (func.getSecond().original.isPublic() &&
            !func.getSecond().original.symbolKnownUseEmpty(module)) {
          auto clone = func.getSecond().original.clone();
          clone.setPrivate();
          symbol_table.insert(clone);
          func.getSecond().clone = clone;
        }
      }
    
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/user/exbhv/RoleBhv.java

                result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/exbhv/GroupBhv.java

                result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

      for (const auto& entry : var_access_info.per_resource_info) {
        const auto& info = entry.getSecond();
        if (info.assign) info.assign->erase();
      }
    
      // Remove the read ops if they have no more uses.
      for (const auto& entry : var_access_info.per_resource_info) {
        const auto& info = entry.getSecond();
        if (info.read->use_empty()) info.read->erase();
      }
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top