task_runner.h
imports tensorflow/core/platform/errors.himports tensorflow/core/platform/macros.h
SHA-256fae96c994e368095b611403bdd8b7c6f1c97116eb621dd56824a5572399d9d2b
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================================================================ …
16:5… ine TENSORFLOW_CORE_DATA_SERVICE_TASK_RUNNER_H_
17
18#include <memory>
19#include <optional>
20#include <vector>
21
22#include "tensorflow/core/data/service/common.pb.h"
23#include "tensorflow/core/data/service/cross_trainer_cache.h"
24#include "tensorflow/core/data/service/data_transfer.h"
25#include "tensorflow/core/data/service/thread_safe_buffer.h"
26#include "tensorflow/core/data/service/worker.pb.h"
27#include "tensorflow/core/data/standalone.h"
28#include "tensorflow/core/framework/tensor.h"
29#include "tensorflow/core/platform/errors.h"
30#include "tensorflow/core/platform/macros.h"
31#include "tensorflow/core/platform/mutex.h"
32#include "tensorflow/core/platform/status.h"
33#include "tensorflow/core/platform/statusor.h"
34#include "tensorflow/core/platform/thread_annotations.h"
35#include "tensorflow/core/protobuf/service_config.pb.h"
36
37namespace tensorflow {
⋯4 lines
48:56… 0;
49 // Reports the cardinality of the dataset that created this iterator.
50 virtual int64_t Cardinality() const = 0;
51
52 // Saves a checkpoint of t …