message: C++ does not allow 0 size arrays.
  Use nullptr instead of them.
diff: @@ -1260,11 +1260,10 @@ TEST_F(CApiFunctionTest, GraphToFunctionDefWithPlaceholderAttr) {
  NodeWithPlaceholderAttrHelper(func_graph.get(), s.get(), "node3", "v2",
  &node3);
  - TF_Output inputs[] = {};
  TF_Output outputs[] = {{node1, 0}, {node2, 0}, {node3, 0}};
  func_ = TF_GraphToFunction(
  func_graph.get(), "func", /*append_hash_to_fn_name=*/false, -1,
  - /*opers=*/nullptr, 0, inputs, 3, outputs,
  + /*opers=*/nullptr, 0, nullptr, 3, outputs,
  /*output_names=*/nullptr,
  /*opts=*/nullptr, /*description=*/nullptr, s.get());
  ASSERT_EQ(TF_OK, TF_GetCode(s.get())) << TF_Message(s.get());
  @@ -1300,10 +1299,9 @@ TEST_F(CApiFunctionTest, GraphToFunctionDefWithArgAttr) {
  &node);
  TF_Output inputs[] = {{node, 0}};
  - TF_Output outputs[] = {};
  func_ = TF_GraphToFunction(
  func_graph.get(), "func", /*append_hash_to_fn_name=*/false, -1,
  - /*opers=*/nullptr, 1, inputs, 0, outputs,
  + /*opers=*/nullptr, 1, inputs, 0, nullptr,
  /*output_names=*/nullptr,
  /*opts=*/nullptr, /*description=*/nullptr, s.get());
  ASSERT_EQ(TF_OK, TF_GetCode(s.get())) << TF_Message(s.get());
  @@ -1603,11 +1601,10 @@ void DefineStatefulFunction(const char* name, TF_Function** func) {
  TF_Operation* random =
  RandomUniform(shape, TF_FLOAT, func_graph.get(), s.get());
  - TF_Output inputs[] = {};
  TF_Output outputs[] = {{random, 0}};
  *func = TF_GraphToFunction(func_graph.get(), name,
  /*append_hash_to_fn_name=*/false, -1,
  - /*opers=*/nullptr, 0, inputs, 1, outputs,
  + /*opers=*/nullptr, 0, nullptr, 1, outputs,
  /*output_names=*/nullptr,
  /*opts=*/nullptr, "", s.get());
  ASSERT_EQ(TF_OK, TF_GetCode(s.get())) << TF_Message(s.get());
  