Example #1
0
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(RelationOneHot1D, value, expand_one)
Example #2
0
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(SizeOneHot2D, value, expand_one)
Example #3
0
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(ColorOneHot1D, value, expand_one)
Example #4
0
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(TensorRelations, value, expand_one)
Example #5
0
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(MaterialOneHot2D, value, expand_one)
Example #6
0
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(BooleanOneHot1D, value, expand_one)
Example #7
0
 def __init__(self, value, expand_one=True):
   self.value = maybe_expand(TensorClevrObjectSet, value, expand_one)
Example #8
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(ColorOneHot1D, value, expand_one)
Example #9
0
 def __init__(self, value, expand_one=True):
   self.value = util.maybe_expand(ClsEncoding, value, expand_one)
Example #10
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(MaterialOneHot2D, value, expand_one)
Example #11
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(SizeOneHot2D, value, expand_one)
Example #12
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(TensorRelations, value, expand_one)
Example #13
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(TensorClevrObjectSet, value, expand_one)
Example #14
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(BooleanOneHot1D, value, expand_one)
Example #15
0
 def __init__(self, value, expand_one=True):
     self.value = maybe_expand(RelationOneHot1D, value, expand_one)
Example #16
0
 def __init__(self, value, expand_one=True):
     self.value = util.maybe_expand(ClsEncoding, value, expand_one)