コード例 #1
0
ファイル: net.py プロジェクト: j1nma/counterfactuals
    def forward(self, x, t1_indices, t0_indices):
        self.input_shape = x.shape[0]

        return HybridBlock.forward(self, x, t1_indices, t0_indices)
コード例 #2
0
 def forward(self, x):
     self.layer_shape = x.shape
     return HybridBlock.forward(self, x)