Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. `torch.tensor` to `K.variable` ( `K` is `from keras import backend as K`)
  2. unsqueez_(1) to K.expand_dims
  3. torch.empty((3,) + requested_shape) to K.zeros((3,) + requested_shape)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement