def METHOD_NAME(self, inputs, name, reuse=False):
    with tf.variable_scope(name, reuse=reuse):
        net_w = tf.get_variable(
            "net_w",
            [self.ndescrpt],
            GLOBAL_TF_FLOAT_PRECISION,
            tf.constant_initializer(self.net_w_i),
        )
    dot_v = tf.matmul(
        tf.reshape(inputs, [-1, self.ndescrpt]),
        tf.reshape(net_w, [self.ndescrpt, 1]),
    )
    return tf.reshape(dot_v, [-1])