Add slice and onehot (#1547)
* Add slice and onehot * refactor the code * fit new code * fix a typo * meet code review * fix test failed
This commit is contained in:
		
							parent
							
								
									4cb832c141
								
							
						
					
					
						commit
						cc21eaf0cf