Benign repos Download

fingerprinting_utils.cc

imports tensorflow/core/platform/env.himports tensorflow/core/platform/file_system_helper.h
SHA-2563f60773dcb9a52c1f7734a00be5f7324934af698f039a63d75845fa5f1525d56
MaleculeMd(In₆)

Evidence

apache web server name lines 1–10
1/* Copyright 2023 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 …
imports tensorflow/core/platform/env.h lines 11–52
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/fingerprinting_utils.h"
17
18#include <algorithm>
19#include <cstdint>
20#include <memory>
21#include <string>
22#include <utility>
23#include <vector>
24
25#include "absl/status/status.h"
26#include "absl/status/statusor.h"
27#include "absl/strings/str_cat.h"
28#include "absl/strings/string_view.h"
29#include "riegeli/bytes/fd_reader.h" // from @riegeli
30#include "riegeli/records/record_reader.h" // from @riegeli
31#include "tensorflow/cc/saved_model/constants.h"
32#include "tensorflow/cc/saved_model/fingerprinting_x_platform_utils.h"
33#include "tensorflow/core/framework/function.pb.h"
34#include "tensorflow/core/framework/graph.pb.h"
35#include "tensorflow/core/framework/op_def.pb.h"
36#include "tensorflow/core/framework/versions.pb.h"
37#include "tensorflow/core/platform/env.h"
38#include "tensorflow/core/platform/file_system_helper.h"
39#include "tensorflow/core/platform/fingerprint.h"
40#include "tensorflow/core/platform/path.h"
41#include "tensorflow/core/protobuf/fingerprint.pb.h"
42#include "tensorflow/core/protobuf/meta_graph.pb.h"
43#include "tensorflow/core/protobuf/saved_model.pb.h"
44#include "tensorflow/core/protobuf/saved_object_graph.pb.h"
45#include "tensorflow/core/util/tensor_bundle/naming.h"
46#include "tensorflow/tools/proto_splitter/cc/util.h"
47#include "tensorflow/tools/proto_splitter/chunk.pb.h"
48#include "tensorflow/tools/proto_splitter/merge.h"
49#include "tsl/platform/errors.h"
50#include "tsl/platform/statusor.h"
51// IWYU pragma: no_include "third_party/protobuf/repeated_ptr_field.h"
52// IWYU pragma: no_include "third_party/protobuf/io/co …
English function-word token "that" lines 209–211
209:9… _t field_checksum = 0;
210 // Find chunked_fields that match the field_tags.
211 for (const ChunkedField& chunked_field : chunked_message.chunked_fields …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.