No. The first form's dataset parameter discussion specifies that it may be defined inline.