Convert Keras model to TensorFlow protobuf

后端 未结 5 1235
盖世英雄少女心
盖世英雄少女心 2021-02-02 11:33

We\'re currently training various neural networks using Keras, which is ideal because it has a nice interface and is relatively easy to use, but we\'d like to be able to apply t

5条回答
  •  深忆病人
    2021-02-02 12:26

    You can access TensorFlow backend by:

    import keras.backend.tensorflow_backend as K
    

    Then you can call any TensorFlow utility or function like:

    K.tf.ConfigProto
    

提交回复
热议问题