Abstract:
A device may obtain program code, determine variables based on the program code, execute or analyze the program code, and determine values of the variables based on the executing or analyzing. The device may determine a range for each variable based on positions of at least one significant digit for the values. The range may be determined based on a count of a quantity of occurrences of the at least one significant digit for the values. The device may determine relationships between the variables based on the executing or analyzing, and may determine one or more effects on the range for the variables based on the relationships between the variables. The device may generate a visualization that presents the range for the variables, the relationships between the variables, and the one or more effects on the range for the variables, and may provide the visualization for display.
Abstract:
Systems and methods are disclosed for selecting parameters for use by a system. The parameters can describe a behavior of the system, which can be represented by a model having an input and an output. The model can include an operation representable by a matrix. The parameters can include the input and output ranges of the operation, the dimensions of the matrix, a noise value for the system, an overflow probability, a regularization parameter, and a desired number of accurate digits. A design environment can be configured to determine values or ranges of values for one or more of the parameters based on values or ranges of values of the remaining parameters. In some embodiments, the design environment can select, recommend, or validate a choice of datatype, minimum system noise, or the dimensions of the matrix. The model can be used to generate code, which can be used to configure the system to perform the operation.
Abstract:
The present application is directed to determining attributes for results of arithmetic operations with fixed-point numbers. An indication is received of possible word lengths to store digits representing a result of an arithmetic operation with fixed-point numbers. An indication is received of how a placement of a radix point will be determined in the digits representing the result of the arithmetic operation with fixed-point numbers. When calculating the fixed-point arithmetic operation, one of the possible word lengths is employed for storing the digits representing the result of the fixed-point arithmetic operation. A placement of a radix point in the digits is based on the received indication of how the radix point is to be determined. Growth rate for a number of digits in a result of a series of arithmetic calculations is less than N, where N is equal to the number of arithmetic operations performed.
Abstract:
A device obtains first program code that identifies a function, an input argument to which the function is to be applied when the first program code is executed, and a class identifier that identifies second program code that includes a set of routines. The set of routines includes a routine that identifies a manner in which a return value of the function is to be generated, when the first program code is executed. The second program code is stored separately from the first program code. The device executes the first program code, obtains the second program code based on executing the first program code, and executes the routine to generate the return value, based on the function, the input argument, and the class identifier. The device provides the return value.
Abstract:
Systems and methods as disclosed for selecting parameters for use by a system. The parameters can describe a behavior of the system, which can be represented by a model having an input and an output. The model can include an operation representable by a matrix. The parameters can include the input and output ranges of the operation, the dimensions of the matrix, a noise value for the system, and an overflow probability. A design environment can be configured to determine values or ranges of values for one or more of the parameters based on values or ranges of values of the remaining parameters. In some embodiments, the design environment can select, recommend, or validate a choice of datatype, minimum system noise, or the dimensions of the matrix. The model can be used to generate code, which can be used to configure the system to perform the operation.
Abstract:
A device, including one or more processors, may obtain program code, determine a group of variables based on the program code, execute the program code, determine values of the group of variables based on the executing of the program code, determine a dynamic range of a characteristic for each variable based on the values, generate a visualization that presents the dynamic range of the characteristic for the group of variables, and provide the visualization for display.