message: Prune unnecessary code
diff: @@ -75,35 +75,12 @@ AddConstantTensorTyped(poplar::Graph&graph,
  const TYPE* data(static_cast<const TYPE*>(LiteralUtil::InternalData(literal)));
  if (num_elements == 0) {
  - tensor = graph.addConstantTensor(type, {0}, 0);
  - } else if (num_elements == 1) {
  - tensor = graph.addConstantTensor(type, dim, data[0]);
  + tensor = graph.addConstantTensor(type, {0}, (TYPE)0);
  } else {
  tensor = graph.addConstantTensor(type, dim, data);
  }
  }
  -template void
  -AddConstantTensorTyped<float>(poplar::Graph&,
  - const xla::Literal &,
  - const xla::Shape &,
  - const std::string &,
  - poplar::Tensor& tensor);
  -
  -template void
  -AddConstantTensorTyped<int>(poplar::Graph&,
  - const xla::Literal &,
  - const xla::Shape &,
  - const std::string &,
  - poplar::Tensor& tensor);
  -
  -template void
  -AddConstantTensorTyped<bool>(poplar::Graph&,
  - const xla::Literal &,
  - const xla::Shape &,
  - const std::string &,
  - poplar::Tensor& tensor);
  -
  port::StatusOr<poplar::Tensor>
  AddConstantTensor(poplar::Graph& graph,
  const std::string& name,
  