Add Value::isValidName method. (#17372)
authorMikhail Zolotukhin <mvz@fb.com>
Thu, 21 Feb 2019 22:18:21 +0000 (14:18 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 21 Feb 2019 22:34:17 +0000 (14:34 -0800)
commit46f15b74b761291ea9a8d9b71aa26f273972d0ed
tree140029142ad45045b6539f80de1bd464744b5a2d
parent6feded880ee830841172b301df19896a47c0fc3a
Add Value::isValidName method. (#17372)

Summary:
The method will be used in IRParser and in NetDef converter.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17372

Differential Revision: D14172494

Pulled By: ZolotukhinM

fbshipit-source-id: 96cae8422bc73c3c2eb27524f44ec1ee8cae92f3
torch/csrc/jit/ir.cpp
torch/csrc/jit/ir.h
torch/csrc/jit/irparser.cpp