File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 639
639
"outputs" : [],
640
640
"source" : [
641
641
" imported_with_signatures = tf.saved_model.load(module_with_signature_path)\n " ,
642
- " list(imported_with_signatures.signatures.keys())\n "
642
+ " list(imported_with_signatures.signatures.keys()) # [ \" serving_default \" ] "
643
643
]
644
644
},
645
645
{
674
674
},
675
675
"outputs" : [],
676
676
"source" : [
677
- " imported_with_multiple_signatures = tf.saved_model.load(module_multiple_signatures_path)\n " ,
678
- " list(imported_with_multiple_signatures.signatures.keys())"
677
+ " imported_with_multiple_signatures = tf.saved_model.load(\n " ,
678
+ " module_multiple_signatures_path\n " ,
679
+ " )\n " ,
680
+ " list(\n " ,
681
+ " imported_with_multiple_signatures.signatures.keys()\n " ,
682
+ " ) # [\" serving_default\" , \" array_input\" ]"
679
683
]
680
684
},
681
685
{
720
724
"outputs" : [],
721
725
"source" : [
722
726
" imported_with_output_name = tf.saved_model.load(module_output_path)\n " ,
723
- " imported_with_output_name.signatures['serving_default'].structured_outputs"
727
+ " imported_with_output_name.signatures[\n " ,
728
+ " 'serving_default'\n " ,
729
+ " ].structured_outputs # {'custom_output_name': TensorSpec(shape=<unknown>, dtype=tf.float32, name='custom_output_name')}"
724
730
]
725
731
},
726
732
{
You can’t perform that action at this time.
0 commit comments