Skip to content

Instantly share code, notes, and snippets.

@albertz
Created March 16, 2022 10:58
Show Gist options
  • Save albertz/a1a20710e4d08292e35ba6910ca132e8 to your computer and use it in GitHub Desktop.
Save albertz/a1a20710e4d08292e35ba6910ca132e8 to your computer and use it in GitHub Desktop.
Top eval func stack:
test_subnetwork_deep_stack.<locals>._extract_stack
test_subnetwork_deep_stack.<locals>._top_eval
CombineLayer._op_kind_eval
CombineLayer._get_op.<locals>.wrap_eval_op
CombineLayer.__init__
EvalLayer.__init__
TFNetwork._create_layer
TFNetwork.add_layer
TFNetwork.add_layer
TFNetwork.add_layer
TFNetwork.add_layer
TFNetwork.add_layer
TFNetwork.add_layer
TFNetwork.construct_layer
TFNetwork.construct_layer.<locals>.get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
LayerBase.transform_config_dict.<locals>.<listcomp>
LayerBase.transform_config_dict
CopyLayer.transform_config_dict
TFNetwork.construct_layer
TFNetwork.construct_layer.<locals>.get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.construct_layer
SubnetworkLayer.transform_config_dict
TFNetwork.construct_layer
TFNetwork.construct_layer.<locals>.get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
LayerBase.transform_config_dict.<locals>.<listcomp>
LayerBase.transform_config_dict
CopyLayer.transform_config_dict
TFNetwork.construct_layer
TFNetwork.construct_layer.<locals>.get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.construct_layer
SubnetworkLayer.transform_config_dict
TFNetwork.construct_layer
TFNetwork.construct_layer.<locals>.get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
LayerBase.transform_config_dict.<locals>.<listcomp>
LayerBase.transform_config_dict
CopyLayer.transform_config_dict
TFNetwork.construct_layer
TFNetwork.construct_layer.<locals>.get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.construct_layer
SubnetworkLayer.transform_config_dict
TFNetwork.construct_layer
TFNetwork.construct_layer.<locals>.get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
LayerBase.transform_config_dict.<locals>.<listcomp>
LayerBase.transform_config_dict
CopyLayer.transform_config_dict
TFNetwork.construct_layer
TFNetwork.construct_layer.<locals>.get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.construct_layer
SubnetworkLayer.transform_config_dict
TFNetwork.construct_layer
TFNetwork.construct_layer.<locals>.get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
LayerBase.transform_config_dict.<locals>.<listcomp>
LayerBase.transform_config_dict
CopyLayer.transform_config_dict
TFNetwork.construct_layer
TFNetwork.construct_layer.<locals>.get_layer
Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer
Subnetwork.get_layer_func.<locals>.wrapped_get_layer
Subnetwork.construct_layer
SubnetworkLayer.transform_config_dict
TFNetwork.construct_layer
TFNetwork.construct_layer.<locals>.get_layer
LayerBase.transform_config_dict.<locals>.<listcomp>
LayerBase.transform_config_dict
CopyLayer.transform_config_dict
TFNetwork.construct_layer
TFNetwork.construct_from_dict
Stack depth: 125
Num functions: 18
Most common func Subnetwork.get_sub_layer_func.<locals>.wrapped_get_layer: count 30
Most common func Subnetwork.get_layer_func.<locals>.wrapped_get_layer: count 30
Most common func TFNetwork.construct_layer: count 12
Most common func TFNetwork.construct_layer.<locals>.get_layer: count 11
Most common func TFNetwork.add_layer: count 6
Most common func LayerBase.transform_config_dict.<locals>.<listcomp>: count 6
Most common func LayerBase.transform_config_dict: count 6
Most common func CopyLayer.transform_config_dict: count 6
Most common func Subnetwork.construct_layer: count 5
Most common func SubnetworkLayer.transform_config_dict: count 5
Num TFNetwork.construct_layer: 12
Num LayerBase.transform_config_dict: 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment