def _get_required_args(fn):
argspec = tf_inspect.getfullargspec(fn)<EOL>args = argspec.args<EOL>if tf_inspect.isclass(fn):<EOL><INDENT>args = args[<NUM_LIT:1>:]  <EOL><DEDENT>if argspec.defaults:<EOL><INDENT>args = args[:-len(argspec.defaults)]<EOL><DEDENT>return tuple(args)<EOL>
Returns the distribution's required args.