Revert D19233558: add float[] str[] constants

Test Plan: revert-hammer

Differential Revision:
D19233558

Original commit changeset: 4f7c6d9ddbe7

fbshipit-source-id: a5020a9169e349a5970323471d673e8cd7818c66
This commit is contained in:
Lu Fang
2019-12-31 11:55:53 -08:00
committed by Facebook Github Bot
parent 7a3ed36309
commit cb1af5f61f
8 changed files with 56 additions and 108 deletions

View File

@ -203,17 +203,6 @@ graph(%0 : Tensor,
)IR");
}
{
checkRoundtrip(
R"IR(
graph():
%0 : float[] = prim::Constant[value=[1., 2., 3.]]()
%1 : str[] = prim::Constant[value=["ab", "cd", "ef"]]()
%2 : (float[], str[]) = prim::TupleConstruct(%0, %1)
return (%2)
)IR");
}
{
bool error_thrown = false;
try {