mocks.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:DeepLearning_VirtualReality_BigData_Project 作者: rashmitripathi 项目源码 文件源码
def __init__(self, name, dtype):
    super(MockSparseTensor, self).__init__()
    self._name = name
    self._dtype = dtype
    self._shape = tensor_shape.unknown_shape()
    self.indices = MockTensor("%s indices" % name, dtypes.int32)
    self.values = MockTensor("%s values" % name, dtype)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号