Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EDC9E200C0C for ; Mon, 16 Jan 2017 06:38:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EC51E160B53; Mon, 16 Jan 2017 05:38:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3F64E160B32 for ; Mon, 16 Jan 2017 06:38:34 +0100 (CET) Received: (qmail 48412 invoked by uid 500); 16 Jan 2017 05:38:33 -0000 Mailing-List: contact dev-help@horn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@horn.incubator.apache.org Delivered-To: mailing list dev@horn.incubator.apache.org Received: (qmail 48401 invoked by uid 99); 16 Jan 2017 05:38:33 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2017 05:38:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E46C41A05EB for ; Mon, 16 Jan 2017 05:38:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.998 X-Spam-Level: X-Spam-Status: No, score=-1.998 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id xM_-0HtXqqHG for ; Mon, 16 Jan 2017 05:38:32 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E231E5FBCE for ; Mon, 16 Jan 2017 05:38:31 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4AC76E59CB for ; Mon, 16 Jan 2017 05:38:28 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6702025286 for ; Mon, 16 Jan 2017 05:38:26 +0000 (UTC) Date: Mon, 16 Jan 2017 05:38:26 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@horn.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HORN-31) Changing Synapse logic to DenseFloatVector MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 16 Jan 2017 05:38:35 -0000 [ https://issues.apache.org/jira/browse/HORN-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15823481#comment-15823481 ] ASF GitHub Bot commented on HORN-31: ------------------------------------ GitHub user edwardyoon opened a pull request: https://github.com/apache/incubator-horn/pull/32 HORN-31: Changing Synapse logic to DenseFloatVector This uses vector instead of own message type. This will allow to optimize vector multiplications. You can merge this pull request into a Git repository by running: $ git pull https://github.com/edwardyoon/incubator-horn master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-horn/pull/32.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #32 ---- commit 473501ed2ada5f0c115e13f490db1cc93a002360 Author: Edward J. Yoon Date: 2017-01-16T05:22:41Z HORN-31: Changing Synapse logic to DenseFloatVector ---- > Changing Synapse logic to DenseFloatVector > ------------------------------------------ > > Key: HORN-31 > URL: https://issues.apache.org/jira/browse/HORN-31 > Project: Apache Horn > Issue Type: Improvement > Reporter: baran > Assignee: baran > > forward function in TestNeuron.java shall be updated into: > float sum = messages.dot(this.getWeightVector()); this.feedforward(this.squashingFunction.apply(sum)); > This means that Synapse implementation shall be changed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)