示例#1
0
def _Run(args):
    region = region_util.GetRegion(args)
    with endpoint_util.MlEndpointOverrides(region=region):
        models_client = models.ModelsClient()
        operations_client = operations.OperationsClient()
        models_util.Update(models_client, operations_client, args)
        log.UpdatedResource(args.model, kind='ai platform model')
示例#2
0
 def Run(self, args):
     models_client = models.ModelsClient()
     operations_client = operations.OperationsClient()
     models_util.Update(models_client, operations_client, args)
     log.UpdatedResource(args.model, kind='ml engine model')
示例#3
0
 def Run(self, args):
     with endpoint_util.MlEndpointOverrides(region=args.region):
         models_client = models.ModelsClient()
         operations_client = operations.OperationsClient()
         models_util.Update(models_client, operations_client, args)
         log.UpdatedResource(args.model, kind='ml engine model')