def configure(self, in_obj):
        if isinstance(in_obj, Layer):
            self.prev_layer = in_obj
            self.in_shape = in_obj.out_shape
            if self.parallelism == "Unknown":
                self.parallelism = in_obj.parallelism
        else:
            self.prev_layer = None
            if isinstance(in_obj, (tuple, int, list)):
                self.in_shape = in_obj  # input is a shape tuple or int directly
            elif isinstance(in_obj, Tensor):
                self.in_shape = (in_obj.shape[0], in_obj.shape[1] / self.be.bsz)
            else:
                self.in_shape = in_obj.shape  # This is a dataset
No URL rules defined.
dataset/ETHPy150Open NervanaSystems/neon/neon/layers/layer.py/Layer.configure--crossover with--dataset/ETHPy150Open moraes/tipfy/tests/app_test.py/TestRequestHandler.test_404