class_docstr: Base context class that contains runtime information for any Determined
  workflow that uses the ``tf.keras`` API.
class_docstr_tok: ["Base","context","class","that","contains","runtime","information","for","any","Determined","workflow","that","uses","the","``","tf.keras","``","API","."]
docstr: Return the global batch size.
docstr_tok: ["Return","the","global","batch","size","."]
code: def get_global_batch_size(self) -> int:
      """
      Return the global batch size.
      """
      return self._global_batch_size
  
imports: import inspect
  import logging
  from typing import Any, Callable, Dict, List, NamedTuple, Optional, Union, cast
  import tensorflow
  import determined
  from determined import errors, keras, util
  from determined.common import check
  from determined.horovod import hvd
label_desc: Use image node_id 2 for calling the TFKerasTrialContext obj's underlying member method code with example usage: obj.get_global_batch_size() and returns: self