def get_variables(self, include_nontrainable=False):
if include_nontrainable:<EOL><INDENT>return [self.all_variables[key] for key in sorted(self.all_variables)]<EOL><DEDENT>else:<EOL><INDENT>return [self.variables[key] for key in sorted(self.variables)]<EOL><DEDENT>
Returns the TensorFlow variables used by the network.

Returns:
    List of variables