摘要: # -*- coding: utf-8 -*- from tensorflow.python.eager import def_function from tensorflow.python.framework import ops from tensorflow.python.keras.opti 阅读全文
posted @ 2022-09-19 11:45 灰太狼锅锅 阅读(157) 评论(0) 推荐(0) 编辑
摘要: def get_layers_and_variables_from_model(model: tf.keras.Model, scope_name=None): layer_dict = {} if scope_name is not None: base_name = scope_name els 阅读全文
posted @ 2022-09-19 10:52 灰太狼锅锅 阅读(30) 评论(0) 推荐(0) 编辑