Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for NamedAttribute (0.14 sec)

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

        auto funcs_for_cluster = tpu_funcs.find(cluster);
        assert(funcs_for_cluster != tpu_funcs.end());
        assert(!funcs_for_cluster->second.empty());
        if (funcs_for_cluster->second.size() == 1) return false;
        for (NamedAttribute attr : op->getAttrs()) {
          auto symbol_ref = mlir::dyn_cast<FlatSymbolRefAttr>(attr.getValue());
          if (!symbol_ref) continue;
          func::FuncOp callee =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

            tpu_devices,
        OpBuilder* builder) {
      if (!replicate) return;
    
      const int num_replicas = tpu_devices.size();
      const int num_cores_per_replica = tpu_devices.front().size();
    
      llvm::SmallVector<NamedAttribute, 8> device_attrs;
      for (int core = 0; core < num_cores_per_replica; ++core) {
        llvm::SmallVector<StringRef, 8> devices_by_core;
        devices_by_core.reserve(num_replicas);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

        return fused_func_op_.emitError()
               << "Invalid function attribute, expected " << kTFImplements
               << " attribute "
                  "not found";
      }
    
      // TODO(ashwinm, b/144775479): Make these NamedAttribute on TF import
      // once tf.function can support this.
      llvm::SmallVector<llvm::StringRef, 4> attr_tokens;
      attr.getValue().split(attr_tokens, ",");
      if (attr_tokens.empty()) {
        return fused_func_op_.emitError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
Back to top