This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install scikit-plot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import tensorflow as tf | |
import tensorflow as tf | |
# Declare a constant, we need to import constant from tensorflow | |
sample_constant=tf.constant(20) | |
print(sample_constant.dtype) | |
# Now we can perform some operations using tensorlfow in this constant | |
#Similarly, we can create variables also | |
A1=tf.Variable([1,2,3,4]) | |
print(A1) | |
#Above created variable can be printed using the numpy conversion |