message: Trying to fix Windows release build for libtensorflow
diff: @@ -190,12 +190,6 @@ library {
  // be deleted by calling TF_DeleteFunction.
  static std::vector<UniqueFuncPtr> CreateImagenetDatasetFunctions(
  const char* file_path, std::string* dataset_name, TF_Status* status) {
  -#if defined(PLATFORM_WINDOWS)
  - status->status = tensorflow::errors::Unimplemented(
  - "TF_MakeFileBasedIteratorGetNextWithDatasets in the experimental C API "
  - "is not implemented for Windows");
  - return std::vector<UniqueFuncPtr>();
  -#else
  const char* func_def = R"PREFIX(
  library {
  function {
  @@ -7074,7 +7068,6 @@ library {
  DCHECK(found);
  };
  return CreateFunctionsFromTextProto(func_def, &mutate_proto_func, status);
  -#endif
  }
  // On success, returns a set of TF_Function instances encoding a dataset
  @@ -7084,13 +7077,6 @@ library {
  static std::vector<UniqueFuncPtr> CreateMNISTDatasetFunctions(
  const char* file_path, int batch_size, std::string* dataset_name,
  TF_Status* status) {
  -#if defined(PLATFORM_WINDOWS)
  - // TODO(ashankar): cover CreateMNISTDatasetFunctions in Windows tests.
  - status->status = tensorflow::errors::Unimplemented(
  - "TF_MakeFileBasedIteratorGetNextWithDatasets in the experimental C API "
  - "is not implemented for Windows");
  - return std::vector<UniqueFuncPtr>();
  -#else
  const char* func_def = R"PREFIX(
  library {
  function {
  @@ -8220,7 +8206,6 @@ library {
  DCHECK(found_batch_size);
  };
  return CreateFunctionsFromTextProto(func_def, &mutate_proto_func, status);
  -#endif
  }
  // Adds the input functions to `graph`. On success, returns the created
  @@ -8315,6 +8300,19 @@ TF_Operation* TF_MakeFakeIteratorGetNextWithDatasets(TF_Graph* graph,
  TF_Operation* TF_MakeFileBasedIteratorGetNextWithDatasets(
  TF_Graph* graph, const char* file_path, int batch_size,
  unsigned char is_mnist, TF_Status* status) {
  +#if defined(PLATFORM_WINDOWS)
  + // TODO(ashankar): get these functions working on Windows.
  + if (is_mnist) {
  + status->status = tensorflow::errors::Unimplemented(
  + "TF_MakeFileBasedIteratorGetNextWithDatasets in the experimental C API "
  + "is not implemented for Windows");
  + } else {
  + status->status = tensorflow::errors::Unimplemented(
  + "TF_MakeFileBasedIteratorGetNextWithDatasets in the experimental C API "
  + "is not implemented for Windows");
  + }
  + return nullptr
  +#else
  tensorflow::Status s;
  std::string dataset_name;
  @@ -8356,4 +8354,5 @@ TF_Operation* TF_MakeFileBasedIteratorGetNextWithDatasets(
  << graph->graph.ToGraphDefDebug().DebugString();
  return getnext_node;
  +#endif
  }
  