API Reference - OperatorBlocks - Sum
Constructors
new()
Creates a new operator block object. If there are no parameters given for that particular argument, then that argument will use default value.
Sum.new({dimension: number}): OperatorBlockObject
Parameters:
- dimension: The dimension to sum across the tensor.
Returns:
- OperatorBlock: The generated compression block object.
Functions
setParameters()
Sum:setParameters({dimension: number})
Parameters:
- dimension: The dimension to sum across the tensor.