mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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:
committed by
Facebook Github Bot
parent
7a3ed36309
commit
cb1af5f61f
@ -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 {
|
||||
|
Reference in New Issue
Block a user