Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 95 of 95 for eraseOp (0.15 sec)

  1. tensorflow/c/eager/c_api_experimental.cc

      // in an initialized context.
      for (auto d = devices.begin(); d != devices.end();) {
        if (absl::StrContains(d->get()->name(), "CPU:0")) {
          d = devices.erase(d);
        } else {
          ++d;
        }
      }
    
      status->status = tensorflow::unwrap(ctx)->AddDevices(std::move(devices));
    }
    
    void TFE_InsertConfigKeyValue(TFE_Context* ctx, const char* key,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/kernels/xla_ops.cc

        mutex_lock l(mutex_);
        auto it = closures_.find(key);
        DCHECK(it != closures_.end());
        ExecutableClosure<ExecutableType, ClientType> value = std::move(it->second);
        closures_.erase(it);
        return value;
      }
    
      static ExecutableClosureStore* Global() {
        static ExecutableClosureStore* instance = new ExecutableClosureStore;
        return instance;
      }
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/codegen.cc

      }
      std::vector<string> parts = absl::StrSplit(cpp_class, "::");
      if (parts.front().empty()) {
        // Allow a fully qualified name that starts with "::".
        parts.erase(parts.begin());
      }
      for (int i = 0, end = parts.size(); i < end; ++i) {
        if (i < end - 1) {
          TF_RETURN_IF_ERROR(ValidateCppIdent(
              parts[i], "in namespace component of cpp_class: " + cpp_class));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

              // write acts as a barrier for those IDs).
              VLOG(4) << "      Clearing resource access info for ID " << id;
              per_resource_access_info_.erase(id);
            }
          }
        }
      }
      // Now update access info for `resource_id`.
      auto& access_info = per_resource_access_info_[resource_id];
      if (read_only) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

                                    children, " doesn't match the prefix ", prefix)
                           .c_str());
          return result;
        }
        children.erase(0, prefix.length());
        if (!children.empty() || include_self_directory_marker) {
          result.emplace_back(children);
        }
        ++count;
      }
    
      return result;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
Back to top