Created
March 3, 2020 22:25
-
-
Save nbortolotti/2528b9dbd9b2f72284d9190f83ee6d00 to your computer and use it in GitHub Desktop.
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 os | |
import argparse | |
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' | |
def fun(x): | |
return x + 1 | |
if __name__ == '__main__': | |
pa = argparse.ArgumentParser(description='tensorflow constants and functions') | |
pa.add_argument('--operation', dest='operation', required=False, help='operation') | |
# constant, square, transpose | |
args = pa.parse_args() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment