Fix black erros
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/basic_test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/basic_test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,4 +1,4 @@ | |||||||
| name: Run Python Tests for Spaces | name: Test Spaces | ||||||
| on: | on: | ||||||
|   push: |   push: | ||||||
|     branches: |     branches: | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/super_model_test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/super_model_test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,4 +1,4 @@ | |||||||
| name: Run Python Tests for Super Model | name: Test Super Model | ||||||
| on: | on: | ||||||
|   push: |   push: | ||||||
|     branches: |     branches: | ||||||
|   | |||||||
| @@ -55,11 +55,11 @@ class SuperLinear(SuperModule): | |||||||
|     def abstract_search_space(self): |     def abstract_search_space(self): | ||||||
|         root_node = spaces.VirtualNode(id(self)) |         root_node = spaces.VirtualNode(id(self)) | ||||||
|         if not spaces.is_determined(self._in_features): |         if not spaces.is_determined(self._in_features): | ||||||
|           root_node.append("_in_features", self._in_features) |             root_node.append("_in_features", self._in_features) | ||||||
|         if not spaces.is_determined(self._out_features): |         if not spaces.is_determined(self._out_features): | ||||||
|           root_node.append("_out_features", self._out_features) |             root_node.append("_out_features", self._out_features) | ||||||
|         if not spaces.is_determined(self._bias): |         if not spaces.is_determined(self._bias): | ||||||
|           root_node.append("_bias", self._bias) |             root_node.append("_bias", self._bias) | ||||||
|         return root_node |         return root_node | ||||||
|  |  | ||||||
|     def reset_parameters(self) -> None: |     def reset_parameters(self) -> None: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user