parameters: (self, name, value, step)
docstring: Record value of a scalar variable at the given time step.
  
          Args:
              name (`string`): name of a variable.
              value (`float`): value of the variable.
              step (`int`): time step at which the value is recorded.
docstring_summary: Record value of a scalar variable at the given time step.
docstring_tokens: Record value of a scalar variable at the given time step .
function: def write_value(self, name, value, step):
          '''
          Record value of a scalar variable at the given time step.
  
          Args:
              name (`string`): name of a variable.
              value (`float`): value of the variable.
              step (`int`): time step at which the value is recorded.
          '''
          if self.closed:
              raise RuntimeError('Attempting to use a closed TensorBoardProgressWriter')
  
          if self.writer:
              self.writer.write_value(str(name), float(value), int(step))
function_tokens: def write_value ( self , name , value , step ) : if self . closed : raise RuntimeError ( 'Attempting to use a closed TensorBoardProgressWriter' ) if self . writer : self . writer . write_value ( str ( name ) , float ( value ) , int ( step ) )