def get_validation_specification_json()

in listing_torchserve_models/src/modelpackage_validation_specification.py [0:0]


    def get_validation_specification_json(self, validation_role, batch_transform_input, input_content_type, output_content_type, instance_type, output_s3_location):

        return self.template.replace("ROLE_REPLACE_ME", validation_role)\
            .replace("BATCH_S3_INPUT_REPLACE_ME", batch_transform_input)\
            .replace("INPUT_CONTENT_TYPE_REPLACE_ME", input_content_type)\
            .replace("OUTPUT_CONTENT_TYPE_REPLACE_ME", output_content_type)\
            .replace("INSTANCE_TYPE_REPLACE_ME", instance_type)\
            .replace("VALIDATION_S3_OUTPUT_REPLACE_ME", output_s3_location)