This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import keras.backend as K | |
import tensorflow as tf | |
import numpy as np | |
import theano | |
import theano.tensor as T | |
a = np.ndarray.astype(np.random.rand(4), dtype=np.float32) | |
b = np.ndarray.astype(np.random.rand(4, 14), dtype=np.float32) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import keras | |
from keras.models import Model | |
import keras.backend as K | |
from keras.engine.topology import Layer, InputLayer, Input, Node | |
from keras.layers import merge, Dense, TimeDistributed, LSTM | |
import theano.tensor as T | |
import theano | |
import numpy as np |