infeed_ops.cc
imports tensorflow/core/platform/status.himports tensorflow/core/platform/types.h
SHA-256fffb5514d9afd1abcac97907da0fdf785f988237ad69b5040a2d78b9ad360781
MaleculeMd(In₅)
Evidence
1/* Copyright 2020 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
16#include "tensorflow/core/tpu/kernels/infeed_ops.h"
17
18#include <cstdint>
19#include <deque>
20#include <iterator>
21#include <memory>
22#include <utility>
23#include <vector>
24
25#include "absl/status/status.h"
26#include "absl/strings/str_cat.h"
27#include "tensorflow/compiler/tf2xla/literal_util.h"
28#include "tensorflow/compiler/tf2xla/shape_util.h"
29#include "xla/layout.h"
30#include "xla/layout_util.h"
31#include "xla/literal.h"
32#include "xla/shape.h"
33#include "xla/shape_util.h"
34#include "xla/stream_executor/tpu/c_api_conversions.h"
35#include "xla/stream_executor/tpu/c_api_decl.h"
36#include "xla/stream_executor/tpu/noncopyable_buffer.h"
37#include "xla/stream_executor/tpu/tpu_executor_api.h"
38#include "xla/stream_executor/tpu/tpu_transfer_manager_interface.h"
39#include "xla/tsl/platform/errors.h"
40#include "xla/tsl/platform/logging.h" // IWYU pragma: keep
41#include "xla/tsl/platform/statusor.h"
42#include "tensorflow/core/framework/allocator.h"
43#include "tensorflow/core/framework/function.h"
44#include "tensorflow/core/framework/op_kernel.h"
45#include "tensorflow/core/framework/op_requires.h"
46#include "tensorflow/core/framework/tensor.h"
47#include "tensorflow/core/framework/tensor_shape.h"
48#include "tensorflow/core/framework/types.h"
49#include "tensorflow/core/framework/types.pb.h"
50#include "tensorflow/core/framework/variant.h"
51#include "tensorflow/core/framework/variant_encode_decode.h" // IWYU pragma: keep
52#include "tensorflow/core/framework/variant_tensor_data.h"
53#include "tensorflow/core/kernels/transpose_functor.h"
54#include "tensorflow/core/platform/status.h"
55#include "tensorflow/core/platform/types.h"
56#include "tensorflow/core/profiler/lib/traceme.h"
57#include "tensorflow/core/tpu/kernels/transfer_ops.h"
58#include "tensorflow/core/tpu/tpu_defs.h"