@@ -531,15 +531,26 @@ def transformer(self, instance_count, instance_type, strategy=None, assemble_wit
531
531
If None, server will use one worker per vCPU.
532
532
volume_kms_key (str): Optional. KMS key ID for encrypting the volume attached to the ML
533
533
compute instance (default: None).
534
- endpoint_type: Optional. Selects the software stack used by the inference server.
535
- If not specified, the model will be configured to use the default
536
- SageMaker model server. If 'tensorflow-serving', the model will be configured to
534
+ endpoint_type (str): Optional. Selects the software stack used by the inference server.
535
+ If not specified, the model will be configured to use the default
536
+ SageMaker model server.
537
+ If 'tensorflow-serving', the model will be configured to
537
538
use the SageMaker Tensorflow Serving container.
538
539
"""
539
540
540
541
if endpoint_type == 'tensorflow-serving' :
541
542
self .script_mode = True
542
- return super (TensorFlow , self ).transformer (instance_count , instance_type , strategy , assemble_with , output_path ,
543
- output_kms_key , accept , env , max_concurrent_transforms , max_payload ,
544
- tags , role , model_server_workers , volume_kms_key
545
- )
543
+ return super (TensorFlow , self ).transformer (instance_count ,
544
+ instance_type ,
545
+ strategy ,
546
+ assemble_with ,
547
+ output_path ,
548
+ output_kms_key ,
549
+ accept ,
550
+ env ,
551
+ max_concurrent_transforms ,
552
+ max_payload ,
553
+ tags ,
554
+ role ,
555
+ model_server_workers ,
556
+ volume_kms_key )
0 commit comments