def tf_actions_and_internals(self, states, internals, deterministic):
raise NotImplementedError<EOL>
Creates and returns the TensorFlow operations for retrieving the actions and - if applicable -
the posterior internal state Tensors in reaction to the given input states (and prior internal states).

Args:
    states (dict): Dict of state tensors (each key represents one state space component).
    internals (dict): Dict of internal state tensors (each key represents one internal space component).
    deterministic: Boolean tensor indicating whether action should be chosen
        deterministically.

Returns:
    tuple:
        1) dict of output actions (with or without exploration applied (see `deterministic`))
        2) list of posterior internal state Tensors (empty for non-internal state models)