示例#1
0
文件: primitive.py 项目: zenna/dddt
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(RelationOneHot1D, value, expand_one)
示例#2
0
文件: primitive.py 项目: zenna/dddt
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(SizeOneHot2D, value, expand_one)
示例#3
0
文件: primitive.py 项目: zenna/dddt
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(ColorOneHot1D, value, expand_one)
示例#4
0
文件: primitive.py 项目: zenna/dddt
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(TensorRelations, value, expand_one)
示例#5
0
文件: primitive.py 项目: zenna/dddt
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(MaterialOneHot2D, value, expand_one)
示例#6
0
文件: primitive.py 项目: zenna/dddt
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(BooleanOneHot1D, value, expand_one)
示例#7
0
文件: primitive.py 项目: zenna/dddt
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(TensorClevrObjectSet, value, expand_one)
示例#8
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(ColorOneHot1D, value, expand_one)
示例#9
0
文件: encoding.py 项目: zenna/dddt
 def __init__(self, value, expand_one=True):
   self.value = util.maybe_expand(ClsEncoding, value, expand_one)
示例#10
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(MaterialOneHot2D, value, expand_one)
示例#11
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(SizeOneHot2D, value, expand_one)
示例#12
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(TensorRelations, value, expand_one)
示例#13
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(TensorClevrObjectSet, value, expand_one)
示例#14
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(BooleanOneHot1D, value, expand_one)
示例#15
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(RelationOneHot1D, value, expand_one)
示例#16
0
 def __init__(self, value, expand_one=True):
     self.value = util.maybe_expand(ClsEncoding, value, expand_one)