Home | History | Annotate | Download | only in saved_model
      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_CC_SAVED_MODEL_CONSTANTS_H_
     17 #define TENSORFLOW_CC_SAVED_MODEL_CONSTANTS_H_
     18 
     19 namespace tensorflow {
     20 
     21 /// SavedModel assets directory.
     22 constexpr char kSavedModelAssetsDirectory[] = "assets";
     23 
     24 /// SavedModel assets.extra directory.
     25 constexpr char kSavedModelAssetsExtraDirectory[] = "assets.extra";
     26 
     27 /// SavedModel assets key for graph collection-def.
     28 constexpr char kSavedModelAssetsKey[] = "saved_model_assets";
     29 
     30 /// SavedModel proto filename.
     31 constexpr char kSavedModelFilenamePb[] = "saved_model.pb";
     32 
     33 /// SavedModel text format proto filename.
     34 constexpr char kSavedModelFilenamePbTxt[] = "saved_model.pbtxt";
     35 
     36 /// SavedModel legacy init op key.
     37 constexpr char kSavedModelLegacyInitOpKey[] = "legacy_init_op";
     38 
     39 /// SavedModel main op key.
     40 constexpr char kSavedModelMainOpKey[] = "saved_model_main_op";
     41 
     42 /// Directory in which to save the SavedModel variables.
     43 constexpr char kSavedModelVariablesDirectory[] = "variables";
     44 
     45 /// SavedModel variables filename.
     46 constexpr char kSavedModelVariablesFilename[] = "variables";
     47 
     48 }  // namespace tensorflow
     49 
     50 #endif  // TENSORFLOW_CC_SAVED_MODEL_CONSTANTS_H_
     51