Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
DEVOPS-353: Update docstring after review
Browse files Browse the repository at this point in the history
  • Loading branch information
lscheinkman committed Mar 13, 2018
1 parent 380c10c commit 9a36517
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bindings/py/src/nupic/bindings/regions/PyRegion.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,9 @@ def setSparseOutput(outputs, name, value):
:param outputs: (dict) of numpy arrays. This is the original outputs dict
owned by the C++ caller, passed to region via the compute method to
be updated.
:param name: (string) name of output
:param value: (object) the sparse array to assign to the output
:param name: (string) name of an existing output to modify
:param value: (list) list of UInt32 indices of all the nonzero entries
representing the sparse array to be set
"""
# The region output memory is owned by the c++ and cannot be changed from
# python. We use a special attribule named "__{name}_len__" to pass
Expand Down

0 comments on commit 9a36517

Please sign in to comment.