prefetched_split_provider.cc
imports tsl/platform/path.himports xla/tsl/lib/io/compression.h
SHA-256f1571124d55293a4514d10caa3d9610a064c293d227d4fda3d823497512091e1
MaleculeMd(In₆)
Evidence
1/* Copyright 2024 The TensorFlow Authors. All Rights Reserved.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is …
11:42… IND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14==============================================================================*/
15#include "tensorflow/core/data/service/snapshot/prefetched_split_provider.h"
16
17#include <cstddef>
18#include <cstdint>
19#include <memory>
20#include <optional>
21#include <string>
22#include <utility>
23
24#include "absl/base/thread_annotations.h"
25#include "absl/status/status.h"
26#include "absl/status/statusor.h"
27#include "absl/strings/str_cat.h"
28#include "absl/synchronization/mutex.h"
29#include "xla/tsl/lib/io/compression.h"
30#include "xla/tsl/platform/env.h"
31#include "xla/tsl/platform/errors.h"
32#include "xla/tsl/platform/statusor.h"
33#include "xla/tsl/platform/threadpool.h"
34#include "tensorflow/core/data/service/snapshot/file_utils.h"
35#include "tensorflow/core/framework/dataset.h"
36#include "tensorflow/core/framework/tensor.h"
37#include "tsl/platform/path.h"
38
39namespace tensorflow {
⋯4 lines