-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Devel #1399
Merged
Merged
Devel #1399
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
LLVM IR doesn't have void* type. Signed-off-by: Jan Vesely <[email protected]>
The new name better captures function semantics. Signed-off-by: Jan Vesely <[email protected]>
Don't call the ir conversion routine twice on the same argument. Signed-off-by: Jan Vesely <[email protected]>
The ctypes data types should match. Signed-off-by: Jan Vesely <[email protected]>
Use cfunc argument types directly instead of relying on byref_arg_types. Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
Everything can be done in __init__. Signed-off-by: Jan Vesely <[email protected]>
* • TRANSFER_OUTPUT: - automated assignment of attributes from Keywords.OUTPUTS • RecurrentTransferMechanism - renamed definition of local ENERGY to ENERGY_OUTPUT_PORT - renamed definition of local ENTROPY to ENTROPY_OUTPUT_PORT * • Mechanism_Base - added standard_output_ports and standard_output_port_names • TransferMechanism - standard_output_ports and standard_output_port_names now inherited * • Project Names of standard_output_states: OUTPUT_<*> -> <*> • OutputPort - _instantiate_output_port: added instantiation of owner.standard_output_ports * • Mechanism subclasses: - eliminated instantiation of owner.standard_output_ports (moved to OutputPort._instantiate_output_port * • ProcessingMechanism, Mechanism_Base - moved definition of standard_output_ports from ProcessingMechanism to Mechanism_Base * • TransferMechanisms - If TransferMechanism has > 1 InputPort, RESULT renamed as RESULT-0 * - * • Merged with devel * • Project RESULTS -> RESULT * • Project RESULTS -> RESULT * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * docs styling: fixed various spacing issues * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * • ContrastiveHebbianMechanism - fixed bug in which target_size=0 caused crash * = * • ComparatorMechanism - _validate_params: fixed bug causing crash if sample and/or target input_port not specified * - * - * - * • DDM removed DDM_OUTPUT; replaced with DDM.standard_output_ports NOTE: all prior references to pnl.DDM_OUTPUT.<OUTPUT_PORT_NAME> can now use use just pnl.<<OUTPUT_PORT_NAME> * - * - * - * - * • TransferMechanism - added COMBINE to standard_output_ports * • tests - test_transfer_mechanism added test_combine_standard_output_port - test_processing_mechanism added tests for standard_ouput_ports * • SelectionFunctions - OneHot: fixed bug in *_ABS_VAL value modes • ProcessingMechanism - modified MAX_VAL and MAX_ABS_VAL standard_output_ports to return scalar rather than OneHot values - added MAX_ONE_HOT and MAX_ABS_ONE_HOT standard_output_ports * • SelectionFunctions - OneHot: fixed bug in *_ABS_VAL value modes • ProcessingMechanism - modified MAX_VAL and MAX_ABS_VAL standard_output_ports to return scalar rather than OneHot values - added MAX_ONE_HOT and MAX_ABS_ONE_HOT standard_output_ports
Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
This addresses two problems: 1.) Copies of RandomState continue generating the same random sequence based on the seed of the original. This makes all copies of original Function with random state produce the same random sequence. 2.) Global instances of Functions are initialized (and seeded) before any access to global seed can be made. This makes them use the default time-based seed. Reseeding the copies makes them follow global seed setting and thus more amenable for testing. Signed-off-by: Jan Vesely <[email protected]>
Add typing information. Simplify generating of ctypes.cfunctype arguments. Codestyle.
Signed-off-by: Jan Vesely <[email protected]>
Python3.8 complains about this. Signed-off-by: Jan Vesely <[email protected]>
Python3.8 raises TypeError in check whether None is a valid enum value: def __contains__(cls, member): if not isinstance(member, Enum): > raise TypeError( "unsupported operand type(s) for 'in': '%s' and '%s'" % ( type(member).__qualname__, cls.__class__.__qualname__)) E TypeError: unsupported operand type(s) for 'in': 'NoneType' and 'EnumMeta' Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
Ubuntu only for now
The former is just an alias. Signed-off-by: Jan Vesely <[email protected]>
…-system-comp Convert several tests from System to Composition
Convert to ms before casting to integer. Fixes random seed initialization on macos. Add regression test. Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
This is now handled in github-actions Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
Allow ci- prefixed branches in Appveyor and Travis. Restrict Appveyor to 32-bit builds.
Signed-off-by: Jan Vesely <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
docs: switched to new theme
kmantel
approved these changes
Nov 18, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.