Closed saurabhya closed 1 year ago
# create values for given bound and step values = ivy.arange(start= object - bounds[0], stop= object + bounds[1], step= epsilon) # create positional values for elements position = ivy.arange(start= 0, stop= ((object + bounds[1]) - (object - bounds[0]))/epsilon, step = 1) return values * positions
took default bounds value to be (-100, 100)
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders
took default bounds value to be (-100, 100)