(raw_policy, inner_policy)
return raw_policy[:1] + [inner_policy] + raw_policy[2:]
Substitutes the weights/state of the inner model in a RawPolicy.
Substitutes the weights/state of the inner model in a RawPolicy.
Substitutes the weights / state of the inner model in a RawPolicy .
def substitute_inner_policy_raw(raw_policy, inner_policy):  # pylint: disable=invalid-name
  """Substitutes the weights/state of the inner model in a RawPolicy."""
  return raw_policy[:1] + [inner_policy] + raw_policy[2:]
def substitute_inner_policy_raw ( raw_policy , inner_policy ) : # pylint: disable=invalid-name return raw_policy [ : 1 ] + [ inner_policy ] + raw_policy [ 2 : ]