code: def test_estimate_size():
      from ..execution import SubtaskExecutionActor
      from .....dataframe.arithmetic import DataFrameAdd
      from .....dataframe.fetch import DataFrameFetch
      from .....dataframe.utils import parse_index
  
      index_value = parse_index(pd.Index([10, 20, 30], dtype=np.int64))
  
      input1 = DataFrameFetch(
          output_types=[OutputType.series],
      ).new_chunk(
          [],
          _key="INPUT1",
          shape=(np.nan,),
          dtype=np.dtype("O"),
          index_value=index_value,
      )
      input2 = DataFrameFetch(
          output_types=[OutputType.series],
      ).new_chunk(
          [],
          _key="INPUT2",
          shape=(np.nan,),
          dtype=np.dtype("O"),
          index_value=index_value,
      )
      result_chunk = DataFrameAdd(
          axis=0,
          output_types=[OutputType.series],
          lhs=input1,
          rhs=input2,
      ).new_chunk(
          [input1, input2],
          _key="ADD_RESULT",
          shape=(np.nan,),
          dtype=np.dtype("O"),
          index_value=index_value,
      )
  
      chunk_graph = ChunkGraph([result_chunk])
      chunk_graph.add_node(input1)
      chunk_graph.add_node(input2)
      chunk_graph.add_node(result_chunk)
      chunk_graph.add_edge(input1, result_chunk)
      chunk_graph.add_edge(input2, result_chunk)
  
      input_sizes = {
          "INPUT1": (1024, 1024),
          "INPUT2": (1024, 1024),
      }
  
      subtask = Subtask(
          "test_subtask",
          session_id="session_id",
          chunk_graph=chunk_graph,
      )
      result = SubtaskExecutionActor._estimate_sizes(
          subtask, input_sizes
      )
      assert result[0] == 1024
  
imports: import asyncio
  import os
  import tempfile
  import time
  import uuid
  from contextlib import asynccontextmanager
  from typing import Tuple
  import numpy
  import pandas
  import pytest
  from .....None import oscar
  from .....None import remote
  from .....core import ChunkGraph, ChunkGraphBuilder, TileableGraph, TileableGraphBuilder, OutputType
  from .....remote.core import RemoteFunction
  from .....resource import Resource
  from .....tensor.fetch import TensorFetch
  from .....tensor.arithmetic import TensorTreeAdd
  from .....utils import Timer
  from ....cluster import MockClusterAPI
  from ....lifecycle import MockLifecycleAPI
  from ....meta import MockMetaAPI, MockWorkerMetaAPI
  from ....session import MockSessionAPI
  from ....storage import MockStorageAPI
  from ....storage.handler import StorageHandlerActor
  from ....subtask import MockSubtaskAPI, Subtask, SubtaskStatus
  from ....task.supervisor.manager import TaskManagerActor
  from ....mutable import MockMutableAPI
  from ...supervisor import GlobalResourceManagerActor
  from ...worker import SubtaskExecutionActor, QuotaActor, BandSlotManagerActor
label_desc: Use image node_id 1 for calling a global function with example usage: test_estimate_size() without return types