reader.cc
imports tensorflow/core/platform/env.himports tensorflow/core/platform/file_system_helper.h
SHA-256b2cc70fae8d2cd4dcaebd69031e9c235541342dda9fd5d51d2ab5ee215c91b42
MaleculeMd(In₅)
Evidence
1/* Copyright 2018 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/cc/saved_model/reader.h"
17
18#include <memory>
19#include <string>
20#include <unordered_set>
21#include <utility>
22
23#include "absl/memory/memory.h"
24#include "absl/status/statusor.h"
25#include "tensorflow/cc/saved_model/constants.h"
26#include "tensorflow/cc/saved_model/metrics.h"
27#include "tensorflow/cc/saved_model/util.h"
28#include "tensorflow/core/framework/attr_value.pb.h"
29#include "tensorflow/core/framework/function.pb.h"
30#include "tensorflow/core/framework/graph.pb.h"
31#include "tensorflow/core/framework/node_def.pb.h"
32#include "tensorflow/core/framework/tensor.pb.h"
33#include "tensorflow/core/lib/io/path.h"
34#include "tensorflow/core/lib/strings/str_util.h"
35#include "tensorflow/core/lib/strings/strcat.h"
36#include "tensorflow/core/platform/env.h"
37#include "tensorflow/core/platform/file_system_helper.h"
38#include "tensorflow/core/platform/path.h"
39#include "tensorflow/core/platform/statusor.h"
40#include "tensorflow/core/platform/types.h"
41#include "tensorflow/core/protobuf/meta_graph.pb.h"
42#include "tensorflow/core/protobuf/saved_model.pb.h"
43#include "tensorflow/core/util/tensor_bundle/byte_swap_tensor.h"
44// Placeholder for protosplitter merger include.
45
46#define IS_OSS true
47
48namespace tensorflow { …
127:18… export_dir,
128 ". Check that "
129 "the directory exists and that you have the right "
130 "permissions for accessing it."));
131}
132
133Status ReadMetaGraphDef …