提交 57a65772 authored 作者: Frederic's avatar Frederic

Add doc/ref about the new Type method.

上级 6078b095
...@@ -343,6 +343,15 @@ class PureType(object): ...@@ -343,6 +343,15 @@ class PureType(object):
""" """
return self.values_eq(a, b) return self.values_eq(a, b)
# def get_shape_info(self, obj):
"""
Optional function. See TensorType().get_shape_info for definition
"""
# def get_size(self, shape_info):
"""
Optional function. See TensorType().get_size for definition
"""
_nothing = """ _nothing = """
""" """
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论