• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Copyright 2016 The TensorFlow Authors All Rights Reserved.
2 
3 Licensed under the Apache License, Version 2.0 (the "License");
4 you may not use this file except in compliance with the License.
5 You may obtain a copy of the License at
6 
7     http://www.apache.org/licenses/LICENSE-2.0
8 
9 Unless required by applicable law or agreed to in writing, software
10 distributed under the License is distributed on an "AS IS" BASIS,
11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 See the License for the specific language governing permissions and
13 limitations under the License.
14 ==============================================================================*/
15 
16 #ifndef TENSORFLOW_CORE_PROFILER_INTERNAL_TFPROF_CONSTANTS_H_
17 #define TENSORFLOW_CORE_PROFILER_INTERNAL_TFPROF_CONSTANTS_H_
18 
19 namespace tensorflow {
20 namespace tfprof {
21 
22 // Op name of root of everything. Aggregates all stats.
23 static const char* const kTFProfRoot = "_TFProfRoot";
24 // Op type for nodes that doesn't represent a physical node in the
25 // TensorFlow model. Only exist as a placehold to aggregate children.
26 // For example, kTFProfRoot belongs to this type.
27 static const char* const kTFGraphParent = "_TFGraphParent";
28 static const char* const kTFScopeParent = "_kTFScopeParent";
29 // Op type for tf.trainable_variables().
30 static const char* const kTrainableVarType = "_trainable_variables";
31 // Op type for tensors in the checkpoint file.
32 static const char* const kCkptVarType = "_checkpoint_variables";
33 
34 }  // namespace tfprof
35 }  // namespace tensorflow
36 
37 #endif  // TENSORFLOW_CORE_PROFILER_INTERNAL_TFPROF_CONSTANTS_H_
38