routine
This commit is contained in:
		
							
								
								
									
										15
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								README.md
									
									
									
									
									
								
							@@ -30,3 +30,18 @@ pip install jupyter
 | 
			
		||||
```shell
 | 
			
		||||
jupyter notebook
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## tensorflow
 | 
			
		||||
### python
 | 
			
		||||
```shell
 | 
			
		||||
# win and linux
 | 
			
		||||
pip install tensorflow
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
#mac apple silicon
 | 
			
		||||
pip install tensorflow-macos
 | 
			
		||||
pip install tensorflow-metal
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### c++
 | 
			
		||||
 
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										209
									
								
								lab/3_Polynomial_Regression.ipynb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										209
									
								
								lab/3_Polynomial_Regression.ipynb
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -3,3 +3,5 @@ pandas
 | 
			
		||||
pillow
 | 
			
		||||
matplotlib
 | 
			
		||||
ipywidgets
 | 
			
		||||
tensorflow
 | 
			
		||||
jupyter
 | 
			
		||||
							
								
								
									
										9
									
								
								tf/test.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								tf/test.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
import tensorflow as tf
 | 
			
		||||
 | 
			
		||||
# 创建一个TensorFlow常量
 | 
			
		||||
hello = tf.constant('Hello, TensorFlow!')
 | 
			
		||||
 | 
			
		||||
# 将TensorFlow张量转换为NumPy数组
 | 
			
		||||
numpy_array = hello.numpy()
 | 
			
		||||
 | 
			
		||||
print(numpy_array)  # 输出: b'Hello, TensorFlow!'
 | 
			
		||||
		Reference in New Issue
	
	Block a user