class_docstr: Specifies resources usage or resource limits for execution.
  
  The value `None` represents unknown resource usage or an unspecified limit.
class_docstr_tok: ["Specifies","resources","usage","or","resource","limits","for","execution",".","The","value","`","None","`","represents","unknown","resource","usage","or","an","unspecified","limit","."]
docstr: Return copy with all set values scaled by `f`.
docstr_tok: ["Return","copy","with","all","set","values","scaled","by","`","f","`","."]
code: def scale(self, f: float) -> "ExecutionResources":
      """Return copy with all set values scaled by `f`."""
      return ExecutionResources(
          cpu=self.cpu * f if self.cpu is not None else None,
          gpu=self.gpu * f if self.gpu is not None else None,
          object_store_memory=self.object_store_memory * f
          if self.object_store_memory is not None
          else None,
      )
  
file_path: ray/python/ray/data/_internal/execution/interfaces/execution_options.py
imports: import os
  from dataclasses import dataclass, field
  from typing import List, Optional, Union
  from .common import NodeIdStr
  from ray.data._internal.execution.util import memory_string
  from ray.util.annotations import DeveloperAPI
label_desc: Use image node_id 4 for calling the ExecutionResources obj's underlying member method code with example usage: obj.scale(f) and returns: ExecutionResources