ModifiedBetaGeoNBDRV.perform#
- ModifiedBetaGeoNBDRV.perform(node, inputs, outputs)#
Calculate the function on the inputs and put the variables in the output storage.
- Parameters:
- node
The symbolic
Apply
node that represents this computation.- inputs
Immutable sequence of non-symbolic/numeric inputs. These are the values of each
Variable
innode.inputs
.- output_storage
List of mutable single-element lists (do not change the length of these lists). Each sub-list corresponds to value of each
Variable
innode.outputs
. The primary purpose of this method is to set the values of these sub-lists.
Notes
The
output_storage
list might contain data. If an element of output_storage is notNone
, it has to be of the right type, for instance, for aTensorVariable
, it has to be a NumPyndarray
with the right number of dimensions and the correct dtype. Its shape and stride pattern can be arbitrary. It is not guaranteed that such pre-set values were produced by a previous call to thisOp.perform()
; they could’ve been allocated by anotherOp
’sperform
method. AnOp
is free to reuseoutput_storage
as it sees fit, or to discard it and allocate new memory.