class_docstr: A wrapper for stateless value generator that calls a no-arg function.
class_docstr_tok: ["A","wrapper","for","stateless","value","generator","that","calls","a","no-arg","function","."]
docstr: Gets next value.
  
  Args:
    state: The current state (simply passed through).
  
  Returns:
    A pair (value, new_state) where value is the next value and new_state
      is the advanced state.
docstr_tok: ["Gets","next","value",".","Args",":","state",":","The","current","state","(","simply","passed","through",")",".","Returns",":","A","pair","(","value",",","new_state",")","where","value","is","the","next","value","and","new_state","is","the","advanced","state","."]
code: def next(self, state):
      """Gets next value.
  
      Args:
        state: The current state (simply passed through).
  
      Returns:
        A pair (value, new_state) where value is the next value and new_state
          is the advanced state.
      """
      return self.value_fn(), state
  
imports: import abc
  import collections
  from typing import Any, Callable, Collection, NamedTuple, Optional, Tuple, Union
  import tensorflow
label_desc: Use image node_id 3 for calling the StatelessValueGenerator obj's underlying member method code with example usage: obj.next(state) and returns: self,  state