AVH1993 commited on
Commit
2963724
·
verified ·
1 Parent(s): 386ff90

Add comment on Hartmann function

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ from torch import Tensor
4
 
5
 
6
  def hartmann(x1, x2, x3, x4, x5, x6):
 
7
  x_tensor = Tensor((x1, x2, x3, x4, x5, x6))
8
  hartmann_function = Hartmann(dim=6)
9
  y = hartmann_function(x_tensor)
 
4
 
5
 
6
  def hartmann(x1, x2, x3, x4, x5, x6):
7
+ # Six dimensional Hartmann function
8
  x_tensor = Tensor((x1, x2, x3, x4, x5, x6))
9
  hartmann_function = Hartmann(dim=6)
10
  y = hartmann_function(x_tensor)