yukitsuji / chainer_function

customized chainer's function

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Customized chainer's functions

from correlational_layer import correlational_layer
shape = [(1, 32, 400, 1200), (1, 32, 200, 600), (1, 32, 100, 300), (1, 32, 50, 150)][::-1]
left_img = Variable(cp.ones(shape[j], dtype='f'))
right_img = Variable(cp.ones(shape[j], dtype='f'))
out = correlational_layer(left_img, right_img, max_displacement=40)

About

customized chainer's function


Languages

Language:Python 100.0%