Note: This guide is tailored on my preferences, e.g., I use conda.
Reference: https://packaging.python.org/guides/distributing-packages-using-setuptools/#create-an-account
Note: This guide is tailored on my preferences, e.g., I use conda.
Reference: https://packaging.python.org/guides/distributing-packages-using-setuptools/#create-an-account
import numpy as np | |
from scipy.sparse import csr_matrix | |
import torch | |
__author__ = 'Andrea Esuli' | |
Acsr = csr_matrix([[1, 2, 0], [0, 0, 3], [4, 0, 5]]) | |
print('Acsr',Acsr) | |
Acoo = Acsr.tocoo() |
Arg Name or Optional Flags: | |
positional : str = "foo" | |
options : str = "-f", "--foo" | |
Standard: | |
action : str = [store], append, store_true, store_false, store_const, append_const, version | |
default : * = [None] | |
type : callable = [str], argparse.FileType(mode='wb', bufsize=0) | |
Exotic: |