-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sif develop #133
base: master
Are you sure you want to change the base?
Sif develop #133
Conversation
Signed-off-by: Leo02016 <[email protected]>
Signed-off-by: Leo02016 <[email protected]>
Signed-off-by: Leo02016 <[email protected]>
Signed-off-by: Leo02016 <[email protected]>
Signed-off-by: Leo02016 <[email protected]>
This pull request introduces 9 alerts when merging 52c60d1 into d4ec947 - view on LGTM.com new alerts:
|
This pull request introduces 9 alerts when merging 35fd6ac into 36459f2 - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tf.placeholder has been deprecated in TensorFlow 2.x and needs to be replaced with tf.function or tf.data.Dataset.
Change to: Use tf.function or tf.data.Dataset for inputs. Here a simplified example:
input_index_placeholder = tf.keras.Input(shape=(self.time_steps, 1), dtype=tf.int32, name='input_index')
labels_index_placeholder = tf.keras.Input(shape=(1,), dtype=tf.int32, name='labels_index')
ts_placeholder = tf.keras.Input(shape=(self.y_dim,), dtype=tf.float32, name='input_ts')
Update SIF algorithm