reductionista commented on a change in pull request #440: DL: Update 
training_preprocessor_dl to use bytea
URL: https://github.com/apache/madlib/pull/440#discussion_r322485177
 
 

 ##########
 File path: 
src/ports/postgres/modules/deep_learning/test/input_data_preprocessor.sql_in
 ##########
 @@ -72,14 +69,11 @@ SELECT validation_preprocessor_dl(
 SELECT assert(count(*)=4, 'Incorrect number of buffers in validation_out.')
 FROM validation_out;
 
-SELECT assert(array_upper(independent_var, 2)=6, 'Incorrect buffer size.')
-FROM validation_out WHERE buffer_id=0;
-
-SELECT assert(array_upper(independent_var, 1)=5, 'Incorrect buffer size.')
-FROM validation_out WHERE buffer_id=1;
+SELECT assert(independent_var_shape ='[1:4][1:6]', 'Incorrect buffer size.')
+FROM data_preprocessor_input_batch WHERE buffer_id=0;
 
-SELECT assert(array_upper(independent_var, 1)=4, 'Incorrect buffer size.')
-FROM validation_out WHERE buffer_id=3;
+SELECT assert(independent_var_shape ='[1:5][1:6]', 'Incorrect buffer size.')
+FROM data_preprocessor_input_batch WHERE buffer_id=1;
 
 Review comment:
   See above

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to