import tensorflow as tf



def dropout(x, dropout_ratio):
  return tf.dropout(x, 1 - dropout_ratio)

import tensorflow as tf



def dropout(x, dropout_ratio):
  return tf.nn.dropout(x, 1 - dropout_ratio)

Fix typo