def __call__(self, inputs):

        # Update component cutoff, in case min_variance or num_components has
        # changed (or both).

        #TODO: Looks like the person who wrote this function didn't know what
        #      they were doing
        # component_cutoff is a shared variable, so updating its value here has
        # NO EFFECT on the symbolic expression returned by this call (and what
        # this expression evalutes to can be modified by subsequent calls to
        # _update_cutoff)
        self._update_cutoff()

        normalized_mean = inputs - self.mean
        normalized_mean.name = 'normalized_mean'

        W = self.W[:, :self.component_cutoff]

        #TODO: this is inefficient, should make another shared variable where
        # this proprocessing is already done
        if self.whiten:
            W = W / tensor.sqrt(self.v[:self.component_cutoff])

        Y = tensor.dot(normalized_mean, W)

        return Y
Creates Pub/Sub client and returns it.
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/pca.py/_PCABase.__call__--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/cloud-pubsub-samples-python/appengine-push/pubsub_utils.py/get_client