Benign repos download unavailable

tpu_embedding_optimization_parameters_utils.cc

imports tensorflow/core/platform/errors.himports tensorflow/core/platform/stringprintf.h
SHA-25628352e7cf6eb27bdc65baec3d49c87c8f789c3440fb90cbaaaed1a1de740135e

Evidence

apache web server name lines 1–10
1/* Copyright 2017 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/errors.h lines 11–38
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/tpu_embedding_optimization_parameters_utils.h"
17
18#include <string>
19#include <utility>
20#include <vector>
21
22#include "absl/container/flat_hash_set.h"
23#include "absl/status/status.h"
24#include "absl/strings/str_cat.h"
25#include "absl/strings/str_format.h"
26#include "xla/service/hlo.pb.h"
27#include "xla/tsl/platform/errors.h"
28#include "xla/xla_data.pb.h"
29#include "tensorflow/core/framework/shape_inference.h"
30#include "tensorflow/core/platform/errors.h"
31#include "tensorflow/core/platform/stringprintf.h"
32#include "tensorflow/core/platform/types.h"
33#include "tensorflow/core/protobuf/tpu/optimization_parameters.pb.h"
34
35namespace tensorflow {
36namespace tpu {
37
38std::string GetOptimizationAlgorithmName(Optimizatio …
Reads result through dot or arrow access lines 191–195
191:29… program_shape.parameters_size();
192 const int num_outputs = program_shape.result().tuple_shapes_size();
193
194 if ((num_inputs < 2) || ((num_inputs != num_outputs + 1) &&
195 (num_i …
English function-word token "have" lines 197–199
197:16… er-defined TPU embedding optimizer program must have at least "
198 "two inputs and the number of outputs must be 1 or 2 less than the "
199 …
English function-word token "that" lines 277–280
277:36… tionAlgorithmStateVariableInternalIndices,
278 // that needs to be updated along with this one.
279 bool use_gradient_accumulation;
280 TF_RETURN_IF_ERROR …

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.