Nano: add patching function for dtype (#6947)
* add patching function for dtype * update * fix pep8 * update the parameter name
This commit is contained in:
		
							parent
							
								
									6b65968e3c
								
							
						
					
					
						commit
						f304d33168
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
					@ -33,3 +33,11 @@ Patch API
 | 
				
			||||||
    :members:
 | 
					    :members:
 | 
				
			||||||
    :undoc-members:
 | 
					    :undoc-members:
 | 
				
			||||||
    :show-inheritance:
 | 
					    :show-inheritance:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.. automodule:: bigdl.nano.pytorch.patching.gpu_cpu.gpu_cpu
 | 
				
			||||||
 | 
					    :members: patch_cuda, unpatch_cuda
 | 
				
			||||||
 | 
					    :show-inheritance:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.. automodule:: bigdl.nano.pytorch.patching.dtype_patching.dtype_patching
 | 
				
			||||||
 | 
					    :members: patch_dtype
 | 
				
			||||||
 | 
					    :show-inheritance:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue