FunctionParameter::set_default_str replace || with &&
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/30471
Test Plan: Imported from OSS
Differential Revision: D18710958
Pulled By: pbelevich
fbshipit-source-id: 7e5339175c7e16cd975a90bf6b123df728045e4d