You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@madlib.apache.org by nk...@apache.org on 2021/02/09 20:38:16 UTC

[madlib] 01/04: DL: remove unused rotate import

This is an automated email from the ASF dual-hosted git repository.

nkak pushed a commit to branch dl/fit-mult-null-table-rebase-in-progress
in repository https://gitbox.apache.org/repos/asf/madlib.git

commit 442e3e5532a7e478a6f4bf0590b28e7951a785fe
Author: Nikhil Kak <nk...@vmware.com>
AuthorDate: Tue Jan 26 11:33:31 2021 -0800

    DL: remove unused rotate import
    
    JIRA: MADLIB-1464
    
    Co-authored-by: Ekta Khanna <ek...@vmware.com>
---
 .../modules/deep_learning/madlib_keras_fit_multiple_model.py_in      | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/ports/postgres/modules/deep_learning/madlib_keras_fit_multiple_model.py_in b/src/ports/postgres/modules/deep_learning/madlib_keras_fit_multiple_model.py_in
index 441c155..deda8f6 100644
--- a/src/ports/postgres/modules/deep_learning/madlib_keras_fit_multiple_model.py_in
+++ b/src/ports/postgres/modules/deep_learning/madlib_keras_fit_multiple_model.py_in
@@ -42,7 +42,6 @@ from utilities.control import SetGUC
 from utilities.utilities import add_postfix
 from utilities.utilities import is_platform_gp6_or_up
 from utilities.utilities import unique_string
-from utilities.utilities import rotate
 from utilities.utilities import madlib_version
 from utilities.utilities import is_platform_pg
 from utilities.utilities import get_seg_number
@@ -257,8 +256,8 @@ class FitMultipleModel(object):
         # Ordered list of sql representations of each mst_key,
         #  including NULL's.  This will be used to pass the mst keys
         #  to the db as a sql ARRAY[]
-        self.all_mst_keys = [ str(mst['mst_key']) if mst else 'NULL'\
-                for mst in self.msts_for_schedule ]
+        self.all_mst_keys = [ str(mst['mst_key']) if mst else 'NULL' \
+                              for mst in self.msts_for_schedule ]
 
         # List of all dist_keys, including any extra dist keys beyond
         #  the # segments we'll be training on--these represent the