Python - tensorflow.get_logger() Last Updated : 07 Mar, 2023 Comments Improve Suggest changes Like Article Like Report TensorFlow is open-source Python library designed by Google to develop Machine Learning models and deep learning neural networks. get_logger() is used to get the logger instance. Syntax: tensorflow.get_logger() Parameters: It doesn't accept any parameters. Returns: It returns the logger instance. Example 1: Python3 # Importing the library import tensorflow as tf # Getting logger instance logger = tf.get_logger() # Checking if propagation is enabled res = logger.propagate # Printing the result print('res: ',res) Output: res: True Example 2: Python3 # Importing the library import tensorflow as tf # Getting logger instance logger = tf.get_logger() # Disabling the propagation logger.propagate = False # Checking if propagation is enabled res = logger.propagate # Printing the result print('res: ',res) Output: res: False Comment More infoAdvertise with us Next Article Python | Tensorflow log1p() method A aman neekhara Follow Improve Article Tags : Python Python-Tensorflow Python Tensorflow-math-functions Practice Tags : python Similar Reads Python - tensorflow.gather() TensorFlow is open-source Python library designed by Google to develop Machine Learning models and deep learning  neural networks. gather() is used to slice the input tensor based on the indices provided. Syntax: tensorflow.gather( params, indices, validate_indices, axis, batch_dims, name) Paramete 2 min read Python - tensorflow.eye() TensorFlow is open-source Python library designed by Google to develop Machine Learning models and deep learning  neural networks. tensorflow.eye() is used to generate identity matrix. Syntax: tensorflow.eye( num_rows, num_columns, batch_shape, dtype, name) Parameters: num_rows: It is int32 scalar 2 min read Python - tensorflow.gather_nd() TensorFlow is open-source Python library designed by Google to develop Machine Learning models and deep learning  neural networks. gather_nd() is used to gather the slice from input tensor based on the indices provided. Syntax: tensorflow.gather_nd( params, indices, batch_dims, name) Parameters: pa 2 min read Python - tensorflow.device() TensorFlow is open-source Python library designed by Google to develop Machine Learning models and deep learning  neural networks. device() is used to explicitly specify the device in which operation should be performed. Syntax: tensorflow.device( device_name ) Parameters: device_name: It specifies 2 min read Python | Tensorflow log1p() method Tensorflow is an open-source machine learning library developed by Google. One of its applications is to develop deep neural networks. The module tensorflow.math provides support for many basic mathematical operations. Function tf.log1p() [alias tf.math.log1p] provides support for the natural logari 2 min read Python | Tensorflow log1p() method Tensorflow is an open-source machine learning library developed by Google. One of its applications is to develop deep neural networks. The module tensorflow.math provides support for many basic mathematical operations. Function tf.log1p() [alias tf.math.log1p] provides support for the natural logari 2 min read Like