• Olivier Delalleau's avatar
    Added a 'size' attribute to tensors · f82ca39e
    Olivier Delalleau 提交于
    This behaves the same as in numpy:
    - For dense tensors it is the product of the shape elements.
    - For sparse tensors it is the number of elements actually stored
    (including zeros that are explicitly stored).
    f82ca39e
名称
最后提交
最后更新
..
compile 正在载入提交数据...
gof 正在载入提交数据...
misc 正在载入提交数据...
sandbox 正在载入提交数据...
scalar 正在载入提交数据...
scan_module 正在载入提交数据...
sparse 正在载入提交数据...
tensor 正在载入提交数据...
tests 正在载入提交数据...
__init__.py 正在载入提交数据...
configdefaults.py 正在载入提交数据...
configparser.py 正在载入提交数据...
gradient.py 正在载入提交数据...
lazycond.py 正在载入提交数据...
printing.py 正在载入提交数据...
raise_op.py 正在载入提交数据...
updates.py 正在载入提交数据...