parameters: (self)
return_statement: return broadcast_shape_tensor.shape
docstring: Calculate the broadcast shape of the parameters used during initialization.
docstring_summary: Calculate the broadcast shape of the parameters used during initialization.
docstring_tokens: Calculate the broadcast shape of the parameters used during initialization .
function: def _calc_batch_shape(self):
          """
          Calculate the broadcast shape of the parameters used during initialization.
          """
          broadcast_shape_tensor = None
          param_dict = self.parameters['param_dict']
          for value in param_dict.values():
              if value is None:
                  return None
              if broadcast_shape_tensor is None:
                  broadcast_shape_tensor = cast_to_tensor(value)
              else:
                  value = cast_to_tensor(value)
                  broadcast_shape_tensor = (value + broadcast_shape_tensor)
          return broadcast_shape_tensor.shape
function_tokens: def _calc_batch_shape ( self ) : broadcast_shape_tensor = None param_dict = self . parameters [ 'param_dict' ] for value in param_dict . values ( ) : if value is None : return None if broadcast_shape_tensor is None : broadcast_shape_tensor = cast_to_tensor ( value ) else : value = cast_to_tensor ( value ) broadcast_shape_tensor = ( value + broadcast_shape_tensor ) return broadcast_shape_tensor . shape